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

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: Refactoring following the proposals in the reviews Created 5 years, 5 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..44547d46f2b3b47110fa911b8f332bc89fdcf961 100644
--- a/chrome/browser/ui/tab_helpers.h
+++ b/chrome/browser/ui/tab_helpers.h
@@ -50,6 +50,10 @@ class TabHelpers {
// the full set of tab helpers to deal with it.
friend class prerender::PrerenderContents;
+ // The print preview distiller needs to generate print previews,
+ // which is supported by tab helpers.
Avi (use Gerrit) 2015/07/21 20:47:58 But not *all* the tab helpers. Please explicitly a
arjunpatel 2015/07/23 16:19:45 Acknowledged.
+ friend class PrintPreviewDistiller;
+
// 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