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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2672983003: Implements PrintBrowser mode. (Closed)
Patch Set: Rebase Created 3 years, 10 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: third_party/WebKit/Source/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 0bb8fe3b87305d87c698e7076d20724e3eb468a9..8847039d998f6a8986ed0a4c9f8f96627055fa48 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -89,6 +89,7 @@ class PaintArtifactCompositor;
class PaintController;
class PaintInvalidationState;
class Page;
+class PrintContext;
class ScrollingCoordinator;
class TracedValue;
class TransformState;
@@ -888,6 +889,11 @@ class CORE_EXPORT FrameView final
void updateScrollbarEnabledState();
+ void dispatchEventsForPrintingOnAllFrames();
+
+ void setupPrintContext();
+ void clearPrintContext();
+
void updateLifecyclePhasesInternal(
DocumentLifecycle::LifecycleState targetState);
@@ -1202,6 +1208,8 @@ class CORE_EXPORT FrameView final
std::unique_ptr<CompositorAnimationHost> m_animationHost;
std::unique_ptr<GeometryMapper> m_geometryMapper;
+
+ Member<PrintContext> m_printContext;
};
inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count) {

Powered by Google App Engine
This is Rietveld 408576698