| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 virtual void didFocus(); | 113 virtual void didFocus(); |
| 114 virtual void didBlur(); | 114 virtual void didBlur(); |
| 115 virtual void didChangeCursor(const WebKit::WebCursorInfo&); | 115 virtual void didChangeCursor(const WebKit::WebCursorInfo&); |
| 116 virtual void closeWidgetSoon(); | 116 virtual void closeWidgetSoon(); |
| 117 virtual void show(WebKit::WebNavigationPolicy); | 117 virtual void show(WebKit::WebNavigationPolicy); |
| 118 virtual void runModal() {} | 118 virtual void runModal() {} |
| 119 virtual WebKit::WebRect windowRect(); | 119 virtual WebKit::WebRect windowRect(); |
| 120 virtual void setToolTipText(const WebKit::WebString& text, | 120 virtual void setToolTipText(const WebKit::WebString& text, |
| 121 WebKit::WebTextDirection hint); | 121 WebKit::WebTextDirection hint); |
| 122 virtual void setWindowRect(const WebKit::WebRect&); | 122 virtual void setWindowRect(const WebKit::WebRect&); |
| 123 virtual void setSize(const WebKit::WebSize&); |
| 123 virtual WebKit::WebRect windowResizerRect(); | 124 virtual WebKit::WebRect windowResizerRect(); |
| 124 virtual WebKit::WebRect rootWindowRect(); | 125 virtual WebKit::WebRect rootWindowRect(); |
| 125 virtual WebKit::WebScreenInfo screenInfo(); | 126 virtual WebKit::WebScreenInfo screenInfo(); |
| 126 virtual void resetInputMethod(); | 127 virtual void resetInputMethod(); |
| 127 | 128 |
| 128 // Called when a plugin is moved. These events are queued up and sent with | 129 // Called when a plugin is moved. These events are queued up and sent with |
| 129 // the next paint or scroll message to the host. | 130 // the next paint or scroll message to the host. |
| 130 void SchedulePluginMove(const webkit::npapi::WebPluginGeometry& move); | 131 void SchedulePluginMove(const webkit::npapi::WebPluginGeometry& move); |
| 131 | 132 |
| 132 // Called when a plugin window has been destroyed, to make sure the currently | 133 // Called when a plugin window has been destroyed, to make sure the currently |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 bool animation_task_posted_; | 471 bool animation_task_posted_; |
| 471 bool invalidation_task_posted_; | 472 bool invalidation_task_posted_; |
| 472 | 473 |
| 473 bool has_disable_gpu_vsync_switch_; | 474 bool has_disable_gpu_vsync_switch_; |
| 474 base::TimeTicks last_do_deferred_update_time_; | 475 base::TimeTicks last_do_deferred_update_time_; |
| 475 | 476 |
| 476 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 477 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 477 }; | 478 }; |
| 478 | 479 |
| 479 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 480 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |