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

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: Review feedback (comment, initialization) Created 6 years, 2 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/WebRemoteFrameImpl.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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 virtual void moveCaretSelection(const WebPoint&) override; 172 virtual void moveCaretSelection(const WebPoint&) override;
173 virtual bool setEditableSelectionOffsets(int start, int end) override; 173 virtual bool setEditableSelectionOffsets(int start, int end) override;
174 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; 174 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override;
175 virtual void extendSelectionAndDelete(int before, int after) override; 175 virtual void extendSelectionAndDelete(int before, int after) override;
176 virtual void setCaretVisible(bool) override; 176 virtual void setCaretVisible(bool) override;
177 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override; 177 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override;
178 virtual float printPage(int pageToPrint, WebCanvas*) override; 178 virtual float printPage(int pageToPrint, WebCanvas*) override;
179 virtual float getPrintPageShrink(int page) override; 179 virtual float getPrintPageShrink(int page) override;
180 virtual void printEnd() override; 180 virtual void printEnd() override;
181 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) override; 181 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) override;
182 virtual int getPrintCopiesForPlugin(const WebNode&) override; 182 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOp tions*) override;
183 virtual bool hasCustomPageSizeStyle(int pageIndex) override; 183 virtual bool hasCustomPageSizeStyle(int pageIndex) override;
184 virtual bool isPageBoxVisible(int pageIndex) override; 184 virtual bool isPageBoxVisible(int pageIndex) override;
185 virtual void pageSizeAndMarginsInPixels( 185 virtual void pageSizeAndMarginsInPixels(
186 int pageIndex, 186 int pageIndex,
187 WebSize& pageSize, 187 WebSize& pageSize,
188 int& marginTop, 188 int& marginTop,
189 int& marginRight, 189 int& marginRight,
190 int& marginBottom, 190 int& marginBottom,
191 int& marginLeft) override; 191 int& marginLeft) override;
192 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) override; 192 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) override;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 GC_PLUGIN_IGNORE("340522") 365 GC_PLUGIN_IGNORE("340522")
366 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 366 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
367 #endif 367 #endif
368 }; 368 };
369 369
370 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 370 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
371 371
372 } // namespace blink 372 } // namespace blink
373 373
374 #endif 374 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebLocalFrameImpl.cpp » ('j') | Source/web/WebRemoteFrameImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698