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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_distiller.h

Issue 1575473002: Improve syncing between dom distiller and the print preview request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/webui/print_preview/print_preview_distiller.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_distiller.h b/chrome/browser/ui/webui/print_preview/print_preview_distiller.h
index aef2cea6cb6f8b5dc857f5a5769b1004abc190a7..fe0989c9ec290d20cacad05f18dae34b27eda1bc 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_distiller.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_distiller.h
@@ -11,8 +11,11 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
+#include "components/dom_distiller/core/task_tracker.h"
#include "content/public/browser/web_contents_observer.h"
+using dom_distiller::ViewerHandle;
Bernhard Bauer 2016/01/19 17:21:02 Don't use `using` in headers – it imports this int
mvendramini_hp 2016/01/20 11:56:57 Done - you are right, this was an overlook, good c
+
namespace net {
class URLRequestContextGetter;
}
@@ -51,6 +54,8 @@ class PrintPreviewDistiller {
scoped_ptr<WebContentsDelegateImpl> web_contents_delegate_;
+ scoped_ptr<ViewerHandle> viewer_handle_;
+
DISALLOW_COPY_AND_ASSIGN(PrintPreviewDistiller);
};

Powered by Google App Engine
This is Rietveld 408576698