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

Side by Side Diff: chrome/renderer/print_web_view_helper.h

Issue 155243: Remove WebWidgetDelegate::GetContainingView since it is not needed.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_ 5 #ifndef CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_
6 #define CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_ 6 #define CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // It will implicitly revert the document to display CSS media type. 60 // It will implicitly revert the document to display CSS media type.
61 void PrintPages(const ViewMsg_PrintPages_Params& params, WebFrame* frame); 61 void PrintPages(const ViewMsg_PrintPages_Params& params, WebFrame* frame);
62 62
63 // IPC::Message::Sender 63 // IPC::Message::Sender
64 bool Send(IPC::Message* msg); 64 bool Send(IPC::Message* msg);
65 65
66 int32 routing_id(); 66 int32 routing_id();
67 67
68 // WebViewDeletegate 68 // WebViewDeletegate
69 virtual void DidStopLoading(WebView* webview); 69 virtual void DidStopLoading(WebView* webview);
70 virtual gfx::NativeViewId GetContainingView(WebWidget* webwidget);
71 virtual void DidInvalidateRect(WebWidget* webwidget, 70 virtual void DidInvalidateRect(WebWidget* webwidget,
72 const WebKit::WebRect& rect) {} 71 const WebKit::WebRect& rect) {}
73 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy, 72 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy,
74 const WebKit::WebRect& clip_rect) {} 73 const WebKit::WebRect& clip_rect) {}
75 virtual void Show(WebWidget* webwidget, WindowOpenDisposition disposition) {} 74 virtual void Show(WebWidget* webwidget, WindowOpenDisposition disposition) {}
76 virtual void ShowAsPopupWithItems(WebWidget* webwidget, 75 virtual void ShowAsPopupWithItems(WebWidget* webwidget,
77 const WebKit::WebRect& bounds, 76 const WebKit::WebRect& bounds,
78 int item_height, 77 int item_height,
79 int selected_index, 78 int selected_index,
80 const std::vector<WebMenuItem>& items) {} 79 const std::vector<WebMenuItem>& items) {}
(...skipping 19 matching lines...) Expand all
100 scoped_ptr<WebView> print_web_view_; 99 scoped_ptr<WebView> print_web_view_;
101 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; 100 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_;
102 base::Time last_cancelled_script_print_; 101 base::Time last_cancelled_script_print_;
103 int user_cancelled_scripted_print_count_; 102 int user_cancelled_scripted_print_count_;
104 103
105 private: 104 private:
106 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); 105 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper);
107 }; 106 };
108 107
109 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_ 108 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698