зеркало из https://github.com/electron/electron.git
Move printing-related methods from WebFrame to WebLocalFrame.
https://codereview.chromium.org/2923343005
This commit is contained in:
Родитель
e4d9e12ee5
Коммит
4ac9659114
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче