| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 virtual void didActivateAcceleratedCompositing(bool active); | 106 virtual void didActivateAcceleratedCompositing(bool active); |
| 107 virtual void scheduleComposite(); | 107 virtual void scheduleComposite(); |
| 108 virtual void scheduleAnimation(); | 108 virtual void scheduleAnimation(); |
| 109 virtual void didFocus(); | 109 virtual void didFocus(); |
| 110 virtual void didBlur(); | 110 virtual void didBlur(); |
| 111 virtual void didChangeCursor(const WebKit::WebCursorInfo&); | 111 virtual void didChangeCursor(const WebKit::WebCursorInfo&); |
| 112 virtual void closeWidgetSoon(); | 112 virtual void closeWidgetSoon(); |
| 113 virtual void show(WebKit::WebNavigationPolicy); | 113 virtual void show(WebKit::WebNavigationPolicy); |
| 114 virtual void runModal() {} | 114 virtual void runModal() {} |
| 115 virtual WebKit::WebRect windowRect(); | 115 virtual WebKit::WebRect windowRect(); |
| 116 virtual void setToolTipText(const WebKit::WebString& text, |
| 117 WebKit::WebTextDirection hint); |
| 116 virtual void setWindowRect(const WebKit::WebRect&); | 118 virtual void setWindowRect(const WebKit::WebRect&); |
| 117 virtual WebKit::WebRect windowResizerRect(); | 119 virtual WebKit::WebRect windowResizerRect(); |
| 118 virtual WebKit::WebRect rootWindowRect(); | 120 virtual WebKit::WebRect rootWindowRect(); |
| 119 virtual WebKit::WebScreenInfo screenInfo(); | 121 virtual WebKit::WebScreenInfo screenInfo(); |
| 120 virtual void resetInputMethod(); | 122 virtual void resetInputMethod(); |
| 121 | 123 |
| 122 // Called when a plugin is moved. These events are queued up and sent with | 124 // Called when a plugin is moved. These events are queued up and sent with |
| 123 // the next paint or scroll message to the host. | 125 // the next paint or scroll message to the host. |
| 124 void SchedulePluginMove(const webkit::npapi::WebPluginGeometry& move); | 126 void SchedulePluginMove(const webkit::npapi::WebPluginGeometry& move); |
| 125 | 127 |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 bool animation_update_pending_; | 425 bool animation_update_pending_; |
| 424 bool animation_task_posted_; | 426 bool animation_task_posted_; |
| 425 bool invalidation_task_posted_; | 427 bool invalidation_task_posted_; |
| 426 | 428 |
| 427 base::TimeTicks last_do_deferred_update_time_; | 429 base::TimeTicks last_do_deferred_update_time_; |
| 428 | 430 |
| 429 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 431 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 430 }; | 432 }; |
| 431 | 433 |
| 432 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 434 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |