summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_window.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-18 15:16:54 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-18 15:16:54 +0000
commitb87ee5256f760e63d5373258b4b51cc1f7258b5d (patch)
treec1401ca9694b72fd5f4df66b3e50b178adf64ef7 /chrome/browser/ui/browser_window.h
parent5dbb5e732ebb3e66ab04b961a62329fd6f9a4b15 (diff)
downloadchromium_src-b87ee5256f760e63d5373258b4b51cc1f7258b5d.zip
chromium_src-b87ee5256f760e63d5373258b4b51cc1f7258b5d.tar.gz
chromium_src-b87ee5256f760e63d5373258b4b51cc1f7258b5d.tar.bz2
Move NativeWebKeyboardEvent to the content namespace.
TBR=ben Review URL: https://chromiumcodereview.appspot.com/10383239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137865 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_window.h')
-rw-r--r--chrome/browser/ui/browser_window.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 84ab861..1e202b2 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -27,10 +27,10 @@ class TemplateURL;
#if !defined(OS_MACOSX)
class ToolbarView;
#endif
-struct NativeWebKeyboardEvent;
namespace content {
class WebContents;
+struct NativeWebKeyboardEvent;
struct SSLStatus;
}
@@ -277,12 +277,14 @@ class BrowserWindow : public BaseWindow {
// Returns true if the |event| was handled. Otherwise, if the |event| would
// be handled in HandleKeyboardEvent() method as a normal keyboard shortcut,
// |*is_keyboard_shortcut| should be set to true.
- virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
- bool* is_keyboard_shortcut) = 0;
+ virtual bool PreHandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event,
+ bool* is_keyboard_shortcut) = 0;
// Allows the BrowserWindow object to handle the specified keyboard event,
// if the renderer did not process it.
- virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) = 0;
+ virtual void HandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event) = 0;
// Shows the create web app shortcut dialog box.
virtual void ShowCreateWebAppShortcutsDialog(