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

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: Rebase Created 6 years, 1 month 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') | no next file with comments »
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 virtual void moveCaretSelection(const WebPoint&) override; 173 virtual void moveCaretSelection(const WebPoint&) override;
174 virtual bool setEditableSelectionOffsets(int start, int end) override; 174 virtual bool setEditableSelectionOffsets(int start, int end) override;
175 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; 175 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override;
176 virtual void extendSelectionAndDelete(int before, int after) override; 176 virtual void extendSelectionAndDelete(int before, int after) override;
177 virtual void setCaretVisible(bool) override; 177 virtual void setCaretVisible(bool) override;
178 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override; 178 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override;
179 virtual float printPage(int pageToPrint, WebCanvas*) override; 179 virtual float printPage(int pageToPrint, WebCanvas*) override;
180 virtual float getPrintPageShrink(int page) override; 180 virtual float getPrintPageShrink(int page) override;
181 virtual void printEnd() override; 181 virtual void printEnd() override;
182 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) override; 182 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) override;
183 virtual int getPrintCopiesForPlugin(const WebNode&) override; 183 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOp tions*) override;
184 virtual bool hasCustomPageSizeStyle(int pageIndex) override; 184 virtual bool hasCustomPageSizeStyle(int pageIndex) override;
185 virtual bool isPageBoxVisible(int pageIndex) override; 185 virtual bool isPageBoxVisible(int pageIndex) override;
186 virtual void pageSizeAndMarginsInPixels( 186 virtual void pageSizeAndMarginsInPixels(
187 int pageIndex, 187 int pageIndex,
188 WebSize& pageSize, 188 WebSize& pageSize,
189 int& marginTop, 189 int& marginTop,
190 int& marginRight, 190 int& marginRight,
191 int& marginBottom, 191 int& marginBottom,
192 int& marginLeft) override; 192 int& marginLeft) override;
193 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) override; 193 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) override;
(...skipping 173 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698