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

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 11824050: InstantExtended: Committed NTP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo to fix blacklisting. Created 7 years, 10 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') | no next file » | 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 9a2a95030bb6c0820407a1821f968872dcf3bb62..a34e35a55118e6054d4a4cfdb848d0f66dc2f37d 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -55,11 +55,15 @@ void WebContentsDelegate::BeforeUnloadFired(WebContents* web_contents,
*proceed_to_fire_unload = true;
}
+bool WebContentsDelegate::ShouldFocusLocationBarByDefault(WebContents* source) {
+ return false;
+}
+
bool WebContentsDelegate::ShouldFocusPageAfterCrash() {
return true;
}
-bool WebContentsDelegate::TakeFocus(WebContents* soruce, bool reverse) {
+bool WebContentsDelegate::TakeFocus(WebContents* source, bool reverse) {
return false;
}
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698