Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1539)

Unified Diff: chrome/test/test_browser_window.h

Issue 224023: Don't send tab switching/killing/creating keyboard accelerators to pages. Th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: call Browser:IsReservedAccelerator from tab_contents_view.cc instead of each platform file Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/test_browser_window.h
===================================================================
--- chrome/test/test_browser_window.h (revision 27783)
+++ chrome/test/test_browser_window.h (working copy)
@@ -53,6 +53,7 @@
virtual void FocusToolbar() {}
virtual void ShowPageMenu() {}
virtual void ShowAppMenu() {}
+ virtual int GetCommandId(const NativeWebKeyboardEvent& event) { return -1; }
virtual bool IsBookmarkBarVisible() const { return false; }
virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); }
virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
« chrome/browser/cocoa/browser_window_cocoa.mm ('K') | « chrome/browser/views/frame/browser_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698