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

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

Issue 1125343004: Add a "Simplify Page" option to the print preview dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and remove custom URL source Created 5 years, 6 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_helpers.h
diff --git a/chrome/browser/ui/tab_helpers.h b/chrome/browser/ui/tab_helpers.h
index 1c678f2b55a08b530b7c09e7db86c4f0b2ee0b15..09ad2e1310c066791ca2e5b5b2ffa6739e0c4912 100644
--- a/chrome/browser/ui/tab_helpers.h
+++ b/chrome/browser/ui/tab_helpers.h
@@ -21,6 +21,8 @@ namespace prerender {
class PrerenderContents;
}
+class HiddenWebContents;
+
// A "tab contents" is a WebContents that is used as a tab in a browser window
// (or the equivalent on Android). The TabHelpers class allows specific classes
// to attach the set of tab helpers that is used for tab contents.
@@ -50,6 +52,8 @@ class TabHelpers {
// the full set of tab helpers to deal with it.
friend class prerender::PrerenderContents;
+ friend class HiddenWebContents;
+
// Adopts the specified WebContents as a full-fledged browser tab, attaching
// 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

Powered by Google App Engine
This is Rietveld 408576698