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

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

Issue 11967015: Hide location bar on WebKit programmatic scroll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit. Created 7 years, 9 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
Index: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 6705514a7bc03dd437982049294404eedc0e92ab..b7c23d1f58a4e90a0d3450823ab667f81e599987 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -342,6 +342,10 @@ class CONTENT_EXPORT WebContentsDelegate {
virtual bool IsFullscreenForTabOrPending(
const WebContents* web_contents) const;
+ // Called when the renderer requests the top controls to be hidden or
+ // shown.
+ virtual void RequestShowTopControls(WebContents* web_contents, bool show) {}
+
// Called when a Javascript out of memory notification is received.
virtual void JSOutOfMemory(WebContents* web_contents) {}

Powered by Google App Engine
This is Rietveld 408576698