| Index: chrome/browser/ui/views/frame/native_browser_frame.h
|
| diff --git a/chrome/browser/ui/views/frame/native_browser_frame.h b/chrome/browser/ui/views/frame/native_browser_frame.h
|
| index 2518ccb21a7fb1e4a52222ce4e1090982920b873..0c127b037d3928694c399d6a4dd9b291899b182f 100644
|
| --- a/chrome/browser/ui/views/frame/native_browser_frame.h
|
| +++ b/chrome/browser/ui/views/frame/native_browser_frame.h
|
| @@ -12,6 +12,10 @@
|
| class BrowserFrame;
|
| class BrowserView;
|
|
|
| +namespace content {
|
| +struct NativeWebKeyboardEvent;
|
| +}
|
| +
|
| namespace views {
|
| class NativeWidget;
|
| }
|
| @@ -37,6 +41,14 @@ class NativeBrowserFrame {
|
| virtual void GetWindowPlacement(gfx::Rect* bounds,
|
| ui::WindowShowState* show_state) const = 0;
|
|
|
| + // Returns true if the |event| was handled by the platform implementation.
|
| + virtual bool PreHandleKeyboardEvent(
|
| + const content::NativeWebKeyboardEvent& event) = 0;
|
| +
|
| + // Returns true if the |event| was handled by the platform implementation.
|
| + virtual bool HandleKeyboardEvent(
|
| + const content::NativeWebKeyboardEvent& event) = 0;
|
| +
|
| protected:
|
| friend class BrowserFrame;
|
|
|
|
|