Index: chrome/test/base/test_browser_window.cc |
diff --git a/chrome/test/base/test_browser_window.cc b/chrome/test/base/test_browser_window.cc |
index 1894828f7b06470ce9836fd4cfa3dfdd8d99be21..c84cbe9a39e8315d70c5feee12cbb2b9e01eb2cc 100644 |
--- a/chrome/test/base/test_browser_window.cc |
+++ b/chrome/test/base/test_browser_window.cc |
@@ -7,9 +7,9 @@ |
#include "base/memory/ptr_util.h" |
#include "chrome/browser/ui/browser_list.h" |
#include "chrome/browser/ui/browser_list_observer.h" |
+#include "content/public/browser/keyboard_event_processing_result.h" |
#include "ui/gfx/geometry/rect.h" |
- |
// Helpers -------------------------------------------------------------------- |
namespace chrome { |
@@ -121,10 +121,10 @@ ToolbarActionsBar* TestBrowserWindow::GetToolbarActionsBar() { |
return nullptr; |
} |
-bool TestBrowserWindow::PreHandleKeyboardEvent( |
- const content::NativeWebKeyboardEvent& event, |
- bool* is_keyboard_shortcut) { |
- return false; |
+content::KeyboardEventProcessingResult |
+TestBrowserWindow::PreHandleKeyboardEvent( |
+ const content::NativeWebKeyboardEvent& event) { |
+ return content::KeyboardEventProcessingResult::NOT_HANDLED; |
} |
bool TestBrowserWindow::IsBookmarkBarVisible() const { |