Index: chrome/browser/ui/panels/panel.h |
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h |
index 0aaa58a3dba906c21d024e3ce9fcf7c8b9e49a4b..4a3d15db8a1e7e5c98bd76e2f9728746f7db8b03 100644 |
--- a/chrome/browser/ui/panels/panel.h |
+++ b/chrome/browser/ui/panels/panel.h |
@@ -31,6 +31,7 @@ class SkBitmap; |
namespace content { |
class WebContents; |
+struct NativeWebKeyboardEvent; |
} |
// A platform independent implementation of BaseWindow for Panels. |
@@ -244,6 +245,9 @@ class Panel : public BaseWindow, |
// user-resizable, it should not be a problem. |
void IncreaseMaxSize(const gfx::Size& desired_panel_size); |
+ // Handles keyboard events coming back from the renderer. |
+ void HandleKeyboardEvent(const content::NativeWebKeyboardEvent& event); |
+ |
// Whether the panel window is always on top. |
void SetAlwaysOnTop(bool on_top); |
bool always_on_top() const { return always_on_top_; } |