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

Unified Diff: chrome/browser/ui/tab_contents/core_tab_helper_delegate.h

Issue 1569893003: Add "Request app banner" context menu in DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated dominickn's comment Created 4 years, 11 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: chrome/browser/ui/tab_contents/core_tab_helper_delegate.h
diff --git a/chrome/browser/ui/tab_contents/core_tab_helper_delegate.h b/chrome/browser/ui/tab_contents/core_tab_helper_delegate.h
index 76f5f625bd9c124392e44efce8bfed7eed947cd3..d8015096130df0df9ad894edfc9c1feb07ba46b0 100644
--- a/chrome/browser/ui/tab_contents/core_tab_helper_delegate.h
+++ b/chrome/browser/ui/tab_contents/core_tab_helper_delegate.h
@@ -34,6 +34,9 @@ class CoreTabHelperDelegate {
// Saving can be disabled e.g. for the DevTools window.
virtual bool CanSaveContents(content::WebContents* web_contents) const;
+ // Requests the app banner. This method is called from the DevTools.
+ virtual bool RequestAppBanner(content::WebContents* web_contents);
+
protected:
virtual ~CoreTabHelperDelegate();
};

Powered by Google App Engine
This is Rietveld 408576698