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

Unified Diff: chrome/renderer/print_web_view_helper.h

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/loadtimes_extension_bindings.cc ('k') | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/print_web_view_helper.h
===================================================================
--- chrome/renderer/print_web_view_helper.h (revision 22886)
+++ chrome/renderer/print_web_view_helper.h (working copy)
@@ -34,7 +34,7 @@
class PrepareFrameAndViewForPrint {
public:
PrepareFrameAndViewForPrint(const ViewMsg_Print_Params& print_params,
- WebFrame* frame,
+ WebKit::WebFrame* frame,
WebView* web_view);
~PrepareFrameAndViewForPrint();
@@ -47,7 +47,7 @@
}
private:
- WebFrame* frame_;
+ WebKit::WebFrame* frame_;
WebView* web_view_;
gfx::Size print_canvas_size_;
gfx::Size prev_view_size_;
@@ -65,7 +65,7 @@
explicit PrintWebViewHelper(RenderView* render_view);
virtual ~PrintWebViewHelper();
- void Print(WebFrame* frame, bool script_initiated);
+ void Print(WebKit::WebFrame* frame, bool script_initiated);
// Is there a background print in progress?
bool IsPrinting() {
@@ -77,16 +77,17 @@
protected:
bool CopyAndPrint(const ViewMsg_PrintPages_Params& params,
- WebFrame* web_frame);
+ WebKit::WebFrame* web_frame);
// Prints the page listed in |params|.
void PrintPage(const ViewMsg_PrintPage_Params& params,
const gfx::Size& canvas_size,
- WebFrame* frame);
+ WebKit::WebFrame* frame);
// Prints all the pages listed in |params|.
// It will implicitly revert the document to display CSS media type.
- void PrintPages(const ViewMsg_PrintPages_Params& params, WebFrame* frame);
+ void PrintPages(const ViewMsg_PrintPages_Params& params,
+ WebKit::WebFrame* frame);
// IPC::Message::Sender
bool Send(IPC::Message* msg);
« no previous file with comments | « chrome/renderer/loadtimes_extension_bindings.cc ('k') | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698