OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 virtual void runModal() {} | 134 virtual void runModal() {} |
135 virtual WebKit::WebRect windowRect(); | 135 virtual WebKit::WebRect windowRect(); |
136 virtual void setToolTipText(const WebKit::WebString& text, | 136 virtual void setToolTipText(const WebKit::WebString& text, |
137 WebKit::WebTextDirection hint); | 137 WebKit::WebTextDirection hint); |
138 virtual void setWindowRect(const WebKit::WebRect&); | 138 virtual void setWindowRect(const WebKit::WebRect&); |
139 virtual WebKit::WebRect windowResizerRect(); | 139 virtual WebKit::WebRect windowResizerRect(); |
140 virtual WebKit::WebRect rootWindowRect(); | 140 virtual WebKit::WebRect rootWindowRect(); |
141 virtual WebKit::WebScreenInfo screenInfo(); | 141 virtual WebKit::WebScreenInfo screenInfo(); |
142 virtual float deviceScaleFactor(); | 142 virtual float deviceScaleFactor(); |
143 virtual void resetInputMethod(); | 143 virtual void resetInputMethod(); |
| 144 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, |
| 145 EventStatus event_status) OVERRIDE; |
144 | 146 |
145 // Called when a plugin is moved. These events are queued up and sent with | 147 // Called when a plugin is moved. These events are queued up and sent with |
146 // the next paint or scroll message to the host. | 148 // the next paint or scroll message to the host. |
147 void SchedulePluginMove(const webkit::npapi::WebPluginGeometry& move); | 149 void SchedulePluginMove(const webkit::npapi::WebPluginGeometry& move); |
148 | 150 |
149 // Called when a plugin window has been destroyed, to make sure the currently | 151 // Called when a plugin window has been destroyed, to make sure the currently |
150 // pending moves don't try to reference it. | 152 // pending moves don't try to reference it. |
151 void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window); | 153 void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window); |
152 | 154 |
153 // Fills in a WebRenderingStatsImpl struct containing information about | 155 // Fills in a WebRenderingStatsImpl struct containing information about |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 | 630 |
629 // Specified whether the compositor will run in its own thread. | 631 // Specified whether the compositor will run in its own thread. |
630 bool is_threaded_compositing_enabled_; | 632 bool is_threaded_compositing_enabled_; |
631 | 633 |
632 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 634 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
633 }; | 635 }; |
634 | 636 |
635 } // namespace content | 637 } // namespace content |
636 | 638 |
637 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 639 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |