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

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

Issue 591053002: Support print preset options for pdf document (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: out-params should be by pointer Created 6 years, 3 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/WebPluginContainerImpl.h » ('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 bool setEditableSelectionOffsets(int start, int end) OVERRIDE; 177 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE;
178 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; 178 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE;
179 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; 179 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE;
180 virtual void navigateToSandboxedMarkup(const WebData& markup) OVERRIDE; 180 virtual void navigateToSandboxedMarkup(const WebData& markup) 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 getPrintCopiesForPlugin(const WebNode&) OVERRIDE; 187 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOp tions*) OVERRIDE;
188 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; 188 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE;
189 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; 189 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE;
190 virtual void pageSizeAndMarginsInPixels( 190 virtual void pageSizeAndMarginsInPixels(
191 int pageIndex, 191 int pageIndex,
192 WebSize& pageSize, 192 WebSize& pageSize,
193 int& marginTop, 193 int& marginTop,
194 int& marginRight, 194 int& marginRight,
195 int& marginBottom, 195 int& marginBottom,
196 int& marginLeft) OVERRIDE; 196 int& marginLeft) OVERRIDE;
197 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE; 197 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE;
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 GC_PLUGIN_IGNORE("340522") 367 GC_PLUGIN_IGNORE("340522")
368 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 368 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
369 #endif 369 #endif
370 }; 370 };
371 371
372 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 372 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
373 373
374 } // namespace blink 374 } // namespace blink
375 375
376 #endif 376 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebLocalFrameImpl.cpp » ('j') | Source/web/WebPluginContainerImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698