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 didCommitAndDrawCompositorFrame(); | 134 virtual void didCommitAndDrawCompositorFrame(); |
135 virtual void didCompleteSwapBuffers(); | 135 virtual void didCompleteSwapBuffers(); |
136 virtual void scheduleComposite(); | 136 virtual void scheduleComposite(); |
137 virtual void scheduleAnimation(); | 137 virtual void scheduleAnimation(); |
138 virtual void didFocus(); | 138 virtual void didFocus(); |
139 virtual void didBlur(); | 139 virtual void didBlur(); |
140 virtual void didChangeCursor(const WebKit::WebCursorInfo&); | 140 virtual void didChangeCursor(const WebKit::WebCursorInfo&); |
141 virtual void closeWidgetSoon(); | 141 virtual void closeWidgetSoon(); |
142 virtual void show(WebKit::WebNavigationPolicy); | 142 virtual void show(WebKit::WebNavigationPolicy); |
143 virtual void runModal() {} | 143 virtual void runModal() {} |
| 144 virtual void didProgrammaticallyScroll(const WebKit::WebPoint& scrollPoint); |
144 virtual WebKit::WebRect windowRect(); | 145 virtual WebKit::WebRect windowRect(); |
145 virtual void setToolTipText(const WebKit::WebString& text, | 146 virtual void setToolTipText(const WebKit::WebString& text, |
146 WebKit::WebTextDirection hint); | 147 WebKit::WebTextDirection hint); |
147 virtual void setWindowRect(const WebKit::WebRect&); | 148 virtual void setWindowRect(const WebKit::WebRect&); |
148 virtual WebKit::WebRect windowResizerRect(); | 149 virtual WebKit::WebRect windowResizerRect(); |
149 virtual WebKit::WebRect rootWindowRect(); | 150 virtual WebKit::WebRect rootWindowRect(); |
150 virtual WebKit::WebScreenInfo screenInfo(); | 151 virtual WebKit::WebScreenInfo screenInfo(); |
151 virtual float deviceScaleFactor(); | 152 virtual float deviceScaleFactor(); |
152 virtual void resetInputMethod(); | 153 virtual void resetInputMethod(); |
153 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, | 154 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 bool is_threaded_compositing_enabled_; | 690 bool is_threaded_compositing_enabled_; |
690 | 691 |
691 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 692 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
692 | 693 |
693 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 694 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
694 }; | 695 }; |
695 | 696 |
696 } // namespace content | 697 } // namespace content |
697 | 698 |
698 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 699 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |