Move printing-related methods from WebFrame to WebLocalFrame.
https://codereview.chromium.org/2923343005
This commit is contained in:
parent
e4d9e12ee5
commit
4ac9659114
2 changed files with 2 additions and 3 deletions
|
@ -339,7 +339,7 @@ blink::WebView* FrameReference::view() {
|
|||
}
|
||||
|
||||
// static - Not anonymous so that platform implementations can use it.
|
||||
float PrintWebViewHelper::RenderPageContent(blink::WebFrame* frame,
|
||||
float PrintWebViewHelper::RenderPageContent(blink::WebLocalFrame* frame,
|
||||
int page_number,
|
||||
const gfx::Rect& canvas_area,
|
||||
const gfx::Rect& content_area,
|
||||
|
|
|
@ -32,7 +32,6 @@ class DictionaryValue;
|
|||
}
|
||||
|
||||
namespace blink {
|
||||
class WebFrame;
|
||||
class WebView;
|
||||
}
|
||||
|
||||
|
@ -216,7 +215,7 @@ class PrintWebViewHelper
|
|||
// |page_number| is zero-based.
|
||||
// When method is called, canvas should be setup to draw to |canvas_area|
|
||||
// with |scale_factor|.
|
||||
static float RenderPageContent(blink::WebFrame* frame,
|
||||
static float RenderPageContent(blink::WebLocalFrame* frame,
|
||||
int page_number,
|
||||
const gfx::Rect& canvas_area,
|
||||
const gfx::Rect& content_area,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue