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

Unified Diff: content/public/browser/web_contents_delegate.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 | « content/public/browser/web_contents_delegate.h ('k') | content/shell/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 0e9d39028e0fad430ad8b8e5fa074aca86b91725..34732db1e640d6ff5f4a7776fa564bb5807b58e5 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -59,7 +59,7 @@ bool WebContentsDelegate::ShouldFocusPageAfterCrash() {
return true;
}
-bool WebContentsDelegate::TakeFocus(bool reverse) {
+bool WebContentsDelegate::TakeFocus(WebContents* soruce, bool reverse) {
return false;
}
@@ -106,6 +106,7 @@ void WebContentsDelegate::ViewSourceForFrame(WebContents* source,
}
bool WebContentsDelegate::PreHandleKeyboardEvent(
+ WebContents* source,
const NativeWebKeyboardEvent& event,
bool* is_keyboard_shortcut) {
return false;
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698