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

Unified Diff: components/dom_distiller/core/distiller_page.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: Update AUTHORS file to reflect the correct HP name used in the CLA Created 5 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
Index: components/dom_distiller/core/distiller_page.h
diff --git a/components/dom_distiller/core/distiller_page.h b/components/dom_distiller/core/distiller_page.h
index e80bc59535a5ed2b950a322b69709aea6f503010..0aac93044af279e9d184262897c6a28a95056da2 100644
--- a/components/dom_distiller/core/distiller_page.h
+++ b/components/dom_distiller/core/distiller_page.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
+#include "content/public/browser/web_contents.h"
nyquist 2015/05/13 07:56:38 //components/dom_distiller/core can not and should
arjunpatel 2015/05/27 00:16:45 I believe this will be removed after the rebase.
#include "third_party/dom_distiller_js/dom_distiller.pb.h"
#include "ui/gfx/geometry/size.h"
#include "url/gurl.h"
@@ -20,6 +21,7 @@ namespace dom_distiller {
class SourcePageHandle {
public:
virtual ~SourcePageHandle() {}
+ virtual content::WebContents* GetWebContents() const = 0;
nyquist 2015/05/13 07:56:39 This can't be part of the SourcePageHandle. That's
arjunpatel 2015/05/27 00:16:45 Acknowledged.
};
// Injects JavaScript into a page, and uses it to extract and return long-form

Powered by Google App Engine
This is Rietveld 408576698