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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 virtual bool OnMessageReceived(const IPC::Message& msg); | 99 virtual bool OnMessageReceived(const IPC::Message& msg); |
100 | 100 |
101 // IPC::Message::Sender | 101 // IPC::Message::Sender |
102 virtual bool Send(IPC::Message* msg); | 102 virtual bool Send(IPC::Message* msg); |
103 | 103 |
104 // WebKit::WebWidgetClient | 104 // WebKit::WebWidgetClient |
105 virtual void didInvalidateRect(const WebKit::WebRect&); | 105 virtual void didInvalidateRect(const WebKit::WebRect&); |
106 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); | 106 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); |
107 virtual void didActivateCompositor(int compositorIdentifier); | 107 virtual void didActivateCompositor(int compositorIdentifier); |
108 virtual void didDeactivateCompositor(); | 108 virtual void didDeactivateCompositor(); |
| 109 virtual void didCommitAndDrawCompositorFrame(); |
| 110 virtual void didCompleteSwapBuffers(); |
109 virtual void scheduleComposite(); | 111 virtual void scheduleComposite(); |
110 virtual void scheduleAnimation(); | 112 virtual void scheduleAnimation(); |
111 virtual void didFocus(); | 113 virtual void didFocus(); |
112 virtual void didBlur(); | 114 virtual void didBlur(); |
113 virtual void didChangeCursor(const WebKit::WebCursorInfo&); | 115 virtual void didChangeCursor(const WebKit::WebCursorInfo&); |
114 virtual void closeWidgetSoon(); | 116 virtual void closeWidgetSoon(); |
115 virtual void show(WebKit::WebNavigationPolicy); | 117 virtual void show(WebKit::WebNavigationPolicy); |
116 virtual void runModal() {} | 118 virtual void runModal() {} |
117 virtual WebKit::WebRect windowRect(); | 119 virtual WebKit::WebRect windowRect(); |
118 virtual void setToolTipText(const WebKit::WebString& text, | 120 virtual void setToolTipText(const WebKit::WebString& text, |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 bool animation_task_posted_; | 470 bool animation_task_posted_; |
469 bool invalidation_task_posted_; | 471 bool invalidation_task_posted_; |
470 | 472 |
471 bool has_disable_gpu_vsync_switch_; | 473 bool has_disable_gpu_vsync_switch_; |
472 base::TimeTicks last_do_deferred_update_time_; | 474 base::TimeTicks last_do_deferred_update_time_; |
473 | 475 |
474 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 476 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
475 }; | 477 }; |
476 | 478 |
477 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 479 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |