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

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

Issue 379793002: [Blink] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/web/WebLocalFrameImpl.cpp » ('j') | Source/web/WebLocalFrameImpl.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; 177 virtual void moveCaretSelection(const WebPoint&) OVERRIDE;
178 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; 178 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE;
179 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; 179 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE;
180 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; 180 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE;
181 virtual void setCaretVisible(bool) OVERRIDE; 181 virtual void setCaretVisible(bool) OVERRIDE;
182 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) OVERRIDE; 182 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) OVERRIDE;
183 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; 183 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE;
184 virtual float getPrintPageShrink(int page) OVERRIDE; 184 virtual float getPrintPageShrink(int page) OVERRIDE;
185 virtual void printEnd() OVERRIDE; 185 virtual void printEnd() OVERRIDE;
186 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; 186 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE;
187 virtual int getNumCopiesForPlugin(const WebNode&) OVERRIDE;
187 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; 188 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE;
188 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; 189 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE;
189 virtual void pageSizeAndMarginsInPixels( 190 virtual void pageSizeAndMarginsInPixels(
190 int pageIndex, 191 int pageIndex,
191 WebSize& pageSize, 192 WebSize& pageSize,
192 int& marginTop, 193 int& marginTop,
193 int& marginRight, 194 int& marginRight,
194 int& marginBottom, 195 int& marginBottom,
195 int& marginLeft) OVERRIDE; 196 int& marginLeft) OVERRIDE;
196 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE; 197 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 UserMediaClientImpl m_userMediaClientImpl; 355 UserMediaClientImpl m_userMediaClientImpl;
355 356
356 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; 357 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
357 }; 358 };
358 359
359 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 360 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
360 361
361 } // namespace blink 362 } // namespace blink
362 363
363 #endif 364 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebLocalFrameImpl.cpp » ('j') | Source/web/WebLocalFrameImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698