-
timothy@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120657 Patch by Marcelo Morais <m.morais@samsung.com> on 2013-09-20 Reviewed by Timothy Hatcher. Handling keyboard shortcuts according to the current platform. * UserInterface/InspectorFrontendHostStub.js: (.WebInspector.InspectorFrontendHostStub.prototype.loadResourceSynchronously): (.WebInspector.InspectorFrontendHostStub.prototype.platform): Added. Return the current platform. * UserInterface/KeyboardShortcut.js: (WebInspector.KeyboardShortcut.Modifier.get CommandOrControl): Added. Created keyboard modifier to return Control or Command key according to current platform. * UserInterface/ContentBrowser.js: (WebInspector.ContentBrowser): Returning Control or Command key for keyboard shortcuts according to current platform. * UserInterface/DebuggerSidebarPanel.js: (WebInspector.DebuggerSidebarPanel): Ditto. * UserInterface/FindBanner.js: (WebInspector.FindBanner): Ditto. * UserInterface/JavaScriptLogViewController.js: (WebInspector.JavaScriptLogViewController): Ditto. * UserInterface/LogContentView.js: (WebInspector.LogContentView): Ditto. * UserInterface/Main.js: (WebInspector.contentLoaded): Ditto. * UserInterface/ResourceSidebarPanel.js: (WebInspector.ResourceSidebarPanel): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
79bfe8ab