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

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

Issue 24304003: Clear the usage of useBrowserOverlays from WebFrame/Impl and ChromePrintContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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/WebFrameImpl.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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 virtual WebRange selectionRange() const; 182 virtual WebRange selectionRange() const;
183 virtual WebString selectionAsText() const; 183 virtual WebString selectionAsText() const;
184 virtual WebString selectionAsMarkup() const; 184 virtual WebString selectionAsMarkup() const;
185 virtual bool selectWordAroundCaret(); 185 virtual bool selectWordAroundCaret();
186 virtual void selectRange(const WebPoint& base, const WebPoint& extent); 186 virtual void selectRange(const WebPoint& base, const WebPoint& extent);
187 virtual void selectRange(const WebRange&); 187 virtual void selectRange(const WebRange&);
188 virtual void moveCaretSelectionTowardsWindowPoint(const WebPoint&); 188 virtual void moveCaretSelectionTowardsWindowPoint(const WebPoint&);
189 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ); 189 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent );
190 virtual void moveCaretSelection(const WebPoint&); 190 virtual void moveCaretSelection(const WebPoint&);
191 virtual void setCaretVisible(bool); 191 virtual void setCaretVisible(bool);
192 virtual int printBegin(const WebPrintParams&, 192 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode );
193 const WebNode& constrainToNode,
194 bool* useBrowserOverlays);
195 virtual float printPage(int pageToPrint, WebCanvas*); 193 virtual float printPage(int pageToPrint, WebCanvas*);
196 virtual float getPrintPageShrink(int page); 194 virtual float getPrintPageShrink(int page);
197 virtual void printEnd(); 195 virtual void printEnd();
198 virtual bool isPrintScalingDisabledForPlugin(const WebNode&); 196 virtual bool isPrintScalingDisabledForPlugin(const WebNode&);
199 virtual bool hasCustomPageSizeStyle(int pageIndex); 197 virtual bool hasCustomPageSizeStyle(int pageIndex);
200 virtual bool isPageBoxVisible(int pageIndex); 198 virtual bool isPageBoxVisible(int pageIndex);
201 virtual void pageSizeAndMarginsInPixels(int pageIndex, 199 virtual void pageSizeAndMarginsInPixels(int pageIndex,
202 WebSize& pageSize, 200 WebSize& pageSize,
203 int& marginTop, 201 int& marginTop,
204 int& marginRight, 202 int& marginRight,
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 { 506 {
509 return static_cast<const WebFrameImpl*>(webFrame); 507 return static_cast<const WebFrameImpl*>(webFrame);
510 } 508 }
511 509
512 // This will catch anyone doing an unnecessary cast. 510 // This will catch anyone doing an unnecessary cast.
513 void toWebFrameImpl(const WebFrameImpl*); 511 void toWebFrameImpl(const WebFrameImpl*);
514 512
515 } // namespace WebKit 513 } // namespace WebKit
516 514
517 #endif 515 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698