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

Unified Diff: chrome/test/base/test_browser_window.h

Issue 2775553002: Adds the ability for WebContentsDelegate to decide if event should be updated (Closed)
Patch Set: Fix compile Created 3 years, 9 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/test_browser_window.h
diff --git a/chrome/test/base/test_browser_window.h b/chrome/test/base/test_browser_window.h
index cafea203b4ec4c04501d369ff13d880ab9fdba91..c67130437d34064c78a362fae4faf498c4071690 100644
--- a/chrome/test/base/test_browser_window.h
+++ b/chrome/test/base/test_browser_window.h
@@ -80,11 +80,10 @@ class TestBrowserWindow : public BrowserWindow {
void FocusInfobars() override {}
void RotatePaneFocus(bool forwards) override {}
void ShowAppMenu() override {}
- bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event,
- bool* is_keyboard_shortcut) override;
+ content::KeyboardEventProcessingResult PreHandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event) override;
void HandleKeyboardEvent(
const content::NativeWebKeyboardEvent& event) override {}
-
bool IsBookmarkBarVisible() const override;
bool IsBookmarkBarAnimating() const override;
bool IsTabStripEditable() const override;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698