| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 virtual void setToolTipText(const blink::WebString& text, | 183 virtual void setToolTipText(const blink::WebString& text, |
| 184 blink::WebTextDirection hint); | 184 blink::WebTextDirection hint); |
| 185 virtual void setWindowRect(const blink::WebRect&); | 185 virtual void setWindowRect(const blink::WebRect&); |
| 186 virtual blink::WebRect windowResizerRect(); | 186 virtual blink::WebRect windowResizerRect(); |
| 187 virtual blink::WebRect rootWindowRect(); | 187 virtual blink::WebRect rootWindowRect(); |
| 188 virtual blink::WebScreenInfo screenInfo(); | 188 virtual blink::WebScreenInfo screenInfo(); |
| 189 virtual float deviceScaleFactor(); | 189 virtual float deviceScaleFactor(); |
| 190 virtual void resetInputMethod(); | 190 virtual void resetInputMethod(); |
| 191 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, | 191 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, |
| 192 bool event_cancelled); | 192 bool event_cancelled); |
| 193 virtual void didOverscroll( |
| 194 const blink::WebFloatSize& unusedDelta, |
| 195 const blink::WebFloatSize& accumulatedRootOverScroll, |
| 196 const blink::WebFloatPoint& position, |
| 197 const blink::WebFloatSize& velocity); |
| 193 virtual void showImeIfNeeded(); | 198 virtual void showImeIfNeeded(); |
| 194 | 199 |
| 195 #if defined(OS_ANDROID) | 200 #if defined(OS_ANDROID) |
| 196 // Notifies that a tap was not consumed, so showing a UI for the unhandled | 201 // Notifies that a tap was not consumed, so showing a UI for the unhandled |
| 197 // tap may be needed. | 202 // tap may be needed. |
| 198 // Performs various checks on the given WebNode to apply heuristics to | 203 // Performs various checks on the given WebNode to apply heuristics to |
| 199 // determine if triggering is appropriate. | 204 // determine if triggering is appropriate. |
| 200 virtual void showUnhandledTapUIIfNeeded( | 205 virtual void showUnhandledTapUIIfNeeded( |
| 201 const blink::WebPoint& tapped_position, | 206 const blink::WebPoint& tapped_position, |
| 202 const blink::WebNode& tapped_node, | 207 const blink::WebNode& tapped_node, |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 ui::MenuSourceType context_menu_source_type_; | 814 ui::MenuSourceType context_menu_source_type_; |
| 810 bool has_host_context_menu_location_; | 815 bool has_host_context_menu_location_; |
| 811 gfx::Point host_context_menu_location_; | 816 gfx::Point host_context_menu_location_; |
| 812 | 817 |
| 813 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 818 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 814 }; | 819 }; |
| 815 | 820 |
| 816 } // namespace content | 821 } // namespace content |
| 817 | 822 |
| 818 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 823 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |