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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 virtual void didCommitAndDrawCompositorFrame(); | 131 virtual void didCommitAndDrawCompositorFrame(); |
132 virtual void didCompleteSwapBuffers(); | 132 virtual void didCompleteSwapBuffers(); |
133 virtual void scheduleComposite(); | 133 virtual void scheduleComposite(); |
134 virtual void scheduleAnimation(); | 134 virtual void scheduleAnimation(); |
135 virtual void didFocus(); | 135 virtual void didFocus(); |
136 virtual void didBlur(); | 136 virtual void didBlur(); |
137 virtual void didChangeCursor(const WebKit::WebCursorInfo&); | 137 virtual void didChangeCursor(const WebKit::WebCursorInfo&); |
138 virtual void closeWidgetSoon(); | 138 virtual void closeWidgetSoon(); |
139 virtual void show(WebKit::WebNavigationPolicy); | 139 virtual void show(WebKit::WebNavigationPolicy); |
140 virtual void runModal() {} | 140 virtual void runModal() {} |
| 141 virtual void didProgrammaticallyScroll(const WebKit::WebPoint& point); |
141 virtual WebKit::WebRect windowRect(); | 142 virtual WebKit::WebRect windowRect(); |
142 virtual void setToolTipText(const WebKit::WebString& text, | 143 virtual void setToolTipText(const WebKit::WebString& text, |
143 WebKit::WebTextDirection hint); | 144 WebKit::WebTextDirection hint); |
144 virtual void setWindowRect(const WebKit::WebRect&); | 145 virtual void setWindowRect(const WebKit::WebRect&); |
145 virtual WebKit::WebRect windowResizerRect(); | 146 virtual WebKit::WebRect windowResizerRect(); |
146 virtual WebKit::WebRect rootWindowRect(); | 147 virtual WebKit::WebRect rootWindowRect(); |
147 virtual WebKit::WebScreenInfo screenInfo(); | 148 virtual WebKit::WebScreenInfo screenInfo(); |
148 virtual float deviceScaleFactor(); | 149 virtual float deviceScaleFactor(); |
149 virtual void resetInputMethod(); | 150 virtual void resetInputMethod(); |
150 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, | 151 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 | 640 |
640 // Specified whether the compositor will run in its own thread. | 641 // Specified whether the compositor will run in its own thread. |
641 bool is_threaded_compositing_enabled_; | 642 bool is_threaded_compositing_enabled_; |
642 | 643 |
643 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 644 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
644 }; | 645 }; |
645 | 646 |
646 } // namespace content | 647 } // namespace content |
647 | 648 |
648 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 649 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |