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

Unified Diff: chrome/browser/chromeos/login/webui_login_view.cc

Issue 10837112: Add WebContents* to some more WebContentsDelegate methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 4 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/chromeos/login/webui_login_view.h ('k') | chrome/browser/debugger/devtools_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/webui_login_view.cc
diff --git a/chrome/browser/chromeos/login/webui_login_view.cc b/chrome/browser/chromeos/login/webui_login_view.cc
index d61e49c771a0b2ac2e4f5b5ff7cc3434114270ca..138ebcfd88b04a6b6ce254814b49f94024276f1d 100644
--- a/chrome/browser/chromeos/login/webui_login_view.cc
+++ b/chrome/browser/chromeos/login/webui_login_view.cc
@@ -297,7 +297,8 @@ bool WebUILoginView::HandleContextMenu(
#endif
}
-void WebUILoginView::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {
+void WebUILoginView::HandleKeyboardEvent(content::WebContents* source,
+ const NativeWebKeyboardEvent& event) {
unhandled_keyboard_event_handler_.HandleKeyboardEvent(event,
GetFocusManager());
@@ -315,7 +316,7 @@ bool WebUILoginView::IsPopupOrPanel(const WebContents* source) const {
return true;
}
-bool WebUILoginView::TakeFocus(bool reverse) {
+bool WebUILoginView::TakeFocus(content::WebContents* source, bool reverse) {
ash::SystemTray* tray = ash::Shell::GetInstance()->system_tray();
if (tray && tray->GetWidget()->IsVisible()) {
tray->SetNextFocusableView(this);
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_view.h ('k') | chrome/browser/debugger/devtools_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698