diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/frame/browser_frame_gtk.cc | 5 | ||||
-rw-r--r-- | chrome/browser/views/frame/browser_frame_gtk.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/browser_frame_gtk.cc b/chrome/browser/views/frame/browser_frame_gtk.cc index 953f4a6..4b011b0 100644 --- a/chrome/browser/views/frame/browser_frame_gtk.cc +++ b/chrome/browser/views/frame/browser_frame_gtk.cc @@ -91,3 +91,8 @@ void BrowserFrameGtk::IsActiveChanged() { browser_view_->ActivationChanged(IsActive()); views::WidgetGtk::IsActiveChanged(); } + +bool BrowserFrameGtk::GetAccelerator(int cmd_id, + views::Accelerator* accelerator) { + return browser_view_->GetAccelerator(cmd_id, accelerator); +} diff --git a/chrome/browser/views/frame/browser_frame_gtk.h b/chrome/browser/views/frame/browser_frame_gtk.h index 5b8a561..297b3bd 100644 --- a/chrome/browser/views/frame/browser_frame_gtk.h +++ b/chrome/browser/views/frame/browser_frame_gtk.h @@ -42,6 +42,7 @@ class BrowserFrameGtk : public BrowserFrame, protected: // Overridden from views::WidgetGtk: virtual views::RootView* CreateRootView(); + virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator); private: // The BrowserView is our ClientView. This is a pointer to it. |