Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 1938d631ad7f0ff210e665529c46f9c82f264d90..79859b4f4f9582a68c1fbb3586e4cd1ec612c9b2 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -1172,7 +1172,8 @@ void Browser::TabStripEmpty() { |
FROM_HERE, base::Bind(&Browser::CloseFrame, weak_factory_.GetWeakPtr())); |
} |
-bool Browser::PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
+bool Browser::PreHandleKeyboardEvent(content::WebContents* source, |
+ const NativeWebKeyboardEvent& event, |
bool* is_keyboard_shortcut) { |
// Escape exits tabbed fullscreen mode. |
// TODO(koz): Write a test for this http://crbug.com/100441. |
@@ -1183,7 +1184,8 @@ bool Browser::PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
return window()->PreHandleKeyboardEvent(event, is_keyboard_shortcut); |
} |
-void Browser::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) { |
+void Browser::HandleKeyboardEvent(content::WebContents* source, |
+ const NativeWebKeyboardEvent& event) { |
window()->HandleKeyboardEvent(event); |
} |
@@ -1358,7 +1360,8 @@ void Browser::WebContentsFocused(WebContents* contents) { |
window_->WebContentsFocused(contents); |
} |
-bool Browser::TakeFocus(bool reverse) { |
+bool Browser::TakeFocus(content::WebContents* source, |
+ bool reverse) { |
content::NotificationService::current()->Notify( |
chrome::NOTIFICATION_FOCUS_RETURNED_TO_BROWSER, |
content::Source<Browser>(this), |