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

Side by Side Diff: Source/web/WebRemoteFrameImpl.h

Issue 379793002: [Blink] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "public/web/WebRemoteFrame.h" 8 #include "public/web/WebRemoteFrame.h"
9 #include "web/RemoteFrameClient.h" 9 #include "web/RemoteFrameClient.h"
10 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; 124 virtual void moveCaretSelection(const WebPoint&) OVERRIDE;
125 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; 125 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE;
126 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; 126 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE;
127 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; 127 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE;
128 virtual void setCaretVisible(bool) OVERRIDE; 128 virtual void setCaretVisible(bool) OVERRIDE;
129 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) OVERRIDE; 129 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) OVERRIDE;
130 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; 130 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE;
131 virtual float getPrintPageShrink(int page) OVERRIDE; 131 virtual float getPrintPageShrink(int page) OVERRIDE;
132 virtual void printEnd() OVERRIDE; 132 virtual void printEnd() OVERRIDE;
133 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; 133 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE;
134 virtual int getPrintCopiesForPlugin(const WebNode&) OVERRIDE;
134 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; 135 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE;
135 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; 136 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE;
136 virtual void pageSizeAndMarginsInPixels( 137 virtual void pageSizeAndMarginsInPixels(
137 int pageIndex, 138 int pageIndex,
138 WebSize& pageSize, 139 WebSize& pageSize,
139 int& marginTop, 140 int& marginTop,
140 int& marginRight, 141 int& marginRight,
141 int& marginBottom, 142 int& marginBottom,
142 int& marginLeft) OVERRIDE; 143 int& marginLeft) OVERRIDE;
143 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE; 144 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 RefPtr<blink::RemoteFrame> m_frame; 189 RefPtr<blink::RemoteFrame> m_frame;
189 190
190 HashMap<WebFrame*, OwnPtr<blink::FrameOwner> > m_ownersForChildren; 191 HashMap<WebFrame*, OwnPtr<blink::FrameOwner> > m_ownersForChildren;
191 }; 192 };
192 193
193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 194 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
194 195
195 } // namespace blink 196 } // namespace blink
196 197
197 #endif // WebRemoteFrameImpl_h 198 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698