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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 virtual void didBecomeReadyForAdditionalInput(); | 142 virtual void didBecomeReadyForAdditionalInput(); |
143 virtual void didCommitAndDrawCompositorFrame(); | 143 virtual void didCommitAndDrawCompositorFrame(); |
144 virtual void didCompleteSwapBuffers(); | 144 virtual void didCompleteSwapBuffers(); |
145 virtual void scheduleComposite(); | 145 virtual void scheduleComposite(); |
146 virtual void scheduleAnimation(); | 146 virtual void scheduleAnimation(); |
147 virtual void didFocus(); | 147 virtual void didFocus(); |
148 virtual void didBlur(); | 148 virtual void didBlur(); |
149 virtual void didChangeCursor(const blink::WebCursorInfo&); | 149 virtual void didChangeCursor(const blink::WebCursorInfo&); |
150 virtual void closeWidgetSoon(); | 150 virtual void closeWidgetSoon(); |
151 virtual void show(blink::WebNavigationPolicy); | 151 virtual void show(blink::WebNavigationPolicy); |
| 152 virtual void runModal() {} |
152 virtual blink::WebRect windowRect(); | 153 virtual blink::WebRect windowRect(); |
153 virtual void setToolTipText(const blink::WebString& text, | 154 virtual void setToolTipText(const blink::WebString& text, |
154 blink::WebTextDirection hint); | 155 blink::WebTextDirection hint); |
155 virtual void setWindowRect(const blink::WebRect&); | 156 virtual void setWindowRect(const blink::WebRect&); |
156 virtual blink::WebRect windowResizerRect(); | 157 virtual blink::WebRect windowResizerRect(); |
157 virtual blink::WebRect rootWindowRect(); | 158 virtual blink::WebRect rootWindowRect(); |
158 virtual blink::WebScreenInfo screenInfo(); | 159 virtual blink::WebScreenInfo screenInfo(); |
159 virtual float deviceScaleFactor(); | 160 virtual float deviceScaleFactor(); |
160 virtual void resetInputMethod(); | 161 virtual void resetInputMethod(); |
161 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, | 162 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 | 790 |
790 ui::MenuSourceType context_menu_source_type_; | 791 ui::MenuSourceType context_menu_source_type_; |
791 gfx::Point touch_editing_context_menu_location_; | 792 gfx::Point touch_editing_context_menu_location_; |
792 | 793 |
793 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 794 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
794 }; | 795 }; |
795 | 796 |
796 } // namespace content | 797 } // namespace content |
797 | 798 |
798 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 799 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |