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

Unified Diff: chrome/browser/ui/tab_helpers.h

Issue 2894973002: Provide WebContents::CreateParams to tab helpers. (Closed)
Patch Set: rebase Created 3 years, 7 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/ui/browser_tab_strip_model_delegate.cc ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_helpers.h
diff --git a/chrome/browser/ui/tab_helpers.h b/chrome/browser/ui/tab_helpers.h
index 72c3e1149f8c6387e6000e5b7bb08814df76fd19..8dab43f5531e207aff68631dd40e8edc38e57503 100644
--- a/chrome/browser/ui/tab_helpers.h
+++ b/chrome/browser/ui/tab_helpers.h
@@ -5,14 +5,13 @@
#ifndef CHROME_BROWSER_UI_TAB_HELPERS_H_
#define CHROME_BROWSER_UI_TAB_HELPERS_H_
+#include "base/optional.h"
+#include "content/public/browser/web_contents.h"
+
namespace android {
class TabWebContentsDelegateAndroid;
}
-namespace content {
-class WebContents;
-}
-
namespace chrome {
class BrowserTabStripModelDelegate;
}
@@ -60,7 +59,9 @@ class TabHelpers {
// all the associated tab helpers that are needed for the WebContents to
// serve in that role. It is safe to call this on a WebContents that was
// already adopted.
- static void AttachTabHelpers(content::WebContents* web_contents);
+ static void AttachTabHelpers(
+ content::WebContents* web_contents,
+ const base::Optional<content::WebContents::CreateParams>& create_params);
};
#endif // CHROME_BROWSER_UI_TAB_HELPERS_H_
« no previous file with comments | « chrome/browser/ui/browser_tab_strip_model_delegate.cc ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698