OLD | NEW |
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_HELPER_H_ | 5 #ifndef CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
6 #define CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ | 6 #define CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/gfx/size.h" | 10 #include "base/gfx/size.h" |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 const WebKit::WebString& default_value, | 184 const WebKit::WebString& default_value, |
185 WebKit::WebString* actual_value) { return false; } | 185 WebKit::WebString* actual_value) { return false; } |
186 virtual bool runModalBeforeUnloadDialog( | 186 virtual bool runModalBeforeUnloadDialog( |
187 WebKit::WebFrame* frame, const WebKit::WebString& message) { | 187 WebKit::WebFrame* frame, const WebKit::WebString& message) { |
188 return true; | 188 return true; |
189 } | 189 } |
190 virtual void showContextMenu( | 190 virtual void showContextMenu( |
191 WebKit::WebFrame* frame, const WebKit::WebContextMenuData& data) {} | 191 WebKit::WebFrame* frame, const WebKit::WebContextMenuData& data) {} |
192 virtual void setStatusText(const WebKit::WebString& text) {} | 192 virtual void setStatusText(const WebKit::WebString& text) {} |
193 virtual void setMouseOverURL(const WebKit::WebURL& url) {} | 193 virtual void setMouseOverURL(const WebKit::WebURL& url) {} |
| 194 virtual void setKeyboardFocusURL(const WebKit::WebURL& url) {} |
194 virtual void setToolTipText( | 195 virtual void setToolTipText( |
195 const WebKit::WebString& text, WebKit::WebTextDirection hint) {} | 196 const WebKit::WebString& text, WebKit::WebTextDirection hint) {} |
196 virtual void startDragging( | 197 virtual void startDragging( |
197 const WebKit::WebPoint& from, const WebKit::WebDragData& data, | 198 const WebKit::WebPoint& from, const WebKit::WebDragData& data, |
198 WebKit::WebDragOperationsMask mask) {} | 199 WebKit::WebDragOperationsMask mask) {} |
199 virtual bool acceptsLoadDrops() { return false; } | 200 virtual bool acceptsLoadDrops() { return false; } |
200 virtual void focusNext() {} | 201 virtual void focusNext() {} |
201 virtual void focusPrevious() {} | 202 virtual void focusPrevious() {} |
202 virtual void navigateBackForwardSoon(int offset) {} | 203 virtual void navigateBackForwardSoon(int offset) {} |
203 virtual int historyBackListCount() { return 0; } | 204 virtual int historyBackListCount() { return 0; } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 WebKit::WebView* print_web_view_; | 237 WebKit::WebView* print_web_view_; |
237 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; | 238 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; |
238 base::Time last_cancelled_script_print_; | 239 base::Time last_cancelled_script_print_; |
239 int user_cancelled_scripted_print_count_; | 240 int user_cancelled_scripted_print_count_; |
240 | 241 |
241 private: | 242 private: |
242 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); | 243 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); |
243 }; | 244 }; |
244 | 245 |
245 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ | 246 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ |
OLD | NEW |