| 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_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/gfx/size.h" | 10 #include "base/gfx/size.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 virtual void closeWidgetSoon() {} | 103 virtual void closeWidgetSoon() {} |
| 104 virtual void show(WebKit::WebNavigationPolicy) {} | 104 virtual void show(WebKit::WebNavigationPolicy) {} |
| 105 virtual void runModal() {} | 105 virtual void runModal() {} |
| 106 virtual WebKit::WebRect windowRect(); | 106 virtual WebKit::WebRect windowRect(); |
| 107 virtual void setWindowRect(const WebKit::WebRect&) {} | 107 virtual void setWindowRect(const WebKit::WebRect&) {} |
| 108 virtual WebKit::WebRect windowResizerRect(); | 108 virtual WebKit::WebRect windowResizerRect(); |
| 109 virtual WebKit::WebRect rootWindowRect(); | 109 virtual WebKit::WebRect rootWindowRect(); |
| 110 virtual WebKit::WebScreenInfo screenInfo(); | 110 virtual WebKit::WebScreenInfo screenInfo(); |
| 111 virtual void DidStopLoading(WebView* webview); | 111 virtual void DidStopLoading(WebView* webview); |
| 112 | 112 |
| 113 // FIXME(benl): remove when WebViewDelegate becomes non-puire again |
| 114 virtual void chooseGeolocationProvider(ChooseGeolocationProviderCallback *, |
| 115 const WebCore::KURL &url) {} |
| 116 |
| 113 private: | 117 private: |
| 114 RenderView* render_view_; | 118 RenderView* render_view_; |
| 115 scoped_ptr<WebView> print_web_view_; | 119 scoped_ptr<WebView> print_web_view_; |
| 116 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; | 120 scoped_ptr<ViewMsg_PrintPages_Params> print_pages_params_; |
| 117 base::Time last_cancelled_script_print_; | 121 base::Time last_cancelled_script_print_; |
| 118 int user_cancelled_scripted_print_count_; | 122 int user_cancelled_scripted_print_count_; |
| 119 | 123 |
| 120 private: | 124 private: |
| 121 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); | 125 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); |
| 122 }; | 126 }; |
| 123 | 127 |
| 124 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_ | 128 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_DELEGATE_H_ |
| OLD | NEW |