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

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

Issue 155378: Replace ShowAsPopupWithItems to CreatePopupWidgetWithInfo. Also,... (Closed) Base URL: svn://chrome-svn/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 | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.h » ('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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void DidInvalidateRect(WebWidget* webwidget, 70 virtual void DidInvalidateRect(WebWidget* webwidget,
71 const WebKit::WebRect& rect) {} 71 const WebKit::WebRect& rect) {}
72 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy, 72 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy,
73 const WebKit::WebRect& clip_rect) {} 73 const WebKit::WebRect& clip_rect) {}
74 virtual void Show(WebWidget* webwidget, WindowOpenDisposition disposition) {} 74 virtual void Show(WebWidget* webwidget, WindowOpenDisposition disposition) {}
75 virtual void ShowAsPopupWithItems(WebWidget* webwidget,
76 const WebKit::WebRect& bounds,
77 int item_height,
78 int selected_index,
79 const std::vector<WebMenuItem>& items) {}
80 virtual void CloseWidgetSoon(WebWidget* webwidget) {} 75 virtual void CloseWidgetSoon(WebWidget* webwidget) {}
81 virtual void Focus(WebWidget* webwidget) {} 76 virtual void Focus(WebWidget* webwidget) {}
82 virtual void Blur(WebWidget* webwidget) {} 77 virtual void Blur(WebWidget* webwidget) {}
83 virtual void SetCursor(WebWidget* webwidget, 78 virtual void SetCursor(WebWidget* webwidget,
84 const WebKit::WebCursorInfo& cursor) {} 79 const WebKit::WebCursorInfo& cursor) {}
85 virtual void GetWindowRect(WebWidget* webwidget, WebKit::WebRect* rect); 80 virtual void GetWindowRect(WebWidget* webwidget, WebKit::WebRect* rect);
86 virtual void SetWindowRect(WebWidget* webwidget, 81 virtual void SetWindowRect(WebWidget* webwidget,
87 const WebKit::WebRect& rect) {} 82 const WebKit::WebRect& rect) {}
88 virtual void GetRootWindowRect(WebWidget* webwidget, WebKit::WebRect* rect) {} 83 virtual void GetRootWindowRect(WebWidget* webwidget, WebKit::WebRect* rect) {}
89 virtual void GetRootWindowResizerRect(WebWidget* webwidget, 84 virtual void GetRootWindowResizerRect(WebWidget* webwidget,
(...skipping 10 matching lines...) Expand all
100 scoped_ptr<WebView> print_web_view_; 95 scoped_ptr<WebView> print_web_view_;
101 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; 96 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_;
102 base::Time last_cancelled_script_print_; 97 base::Time last_cancelled_script_print_;
103 int user_cancelled_scripted_print_count_; 98 int user_cancelled_scripted_print_count_;
104 99
105 private: 100 private:
106 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); 101 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper);
107 }; 102 };
108 103
109 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_ 104 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698