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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 virtual void OnAccessibilityNotifications( | 142 virtual void OnAccessibilityNotifications( |
143 const std::vector<AccessibilityHostMsg_NotificationParams>& | 143 const std::vector<AccessibilityHostMsg_NotificationParams>& |
144 params) OVERRIDE; | 144 params) OVERRIDE; |
145 virtual bool LockMouse() OVERRIDE; | 145 virtual bool LockMouse() OVERRIDE; |
146 virtual void UnlockMouse() OVERRIDE; | 146 virtual void UnlockMouse() OVERRIDE; |
147 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 147 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
148 virtual void OnSwapCompositorFrame( | 148 virtual void OnSwapCompositorFrame( |
149 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 149 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
150 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 150 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
151 const SkBitmap& zoomed_bitmap) OVERRIDE; | 151 const SkBitmap& zoomed_bitmap) OVERRIDE; |
| 152 virtual SmoothScrollGesture* CreateSmoothScrollGesture( |
| 153 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
| 154 int mouse_event_y) OVERRIDE; |
152 | 155 |
153 // cc::TextureLayerClient implementation. | 156 // cc::TextureLayerClient implementation. |
154 virtual unsigned PrepareTexture(cc::ResourceUpdateQueue* queue) OVERRIDE; | 157 virtual unsigned PrepareTexture(cc::ResourceUpdateQueue* queue) OVERRIDE; |
155 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; | 158 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; |
156 virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox) OVERRIDE; | 159 virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox) OVERRIDE; |
157 | 160 |
158 // Non-virtual methods | 161 // Non-virtual methods |
159 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 162 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
160 SkColor GetCachedBackgroundColor() const; | 163 SkColor GetCachedBackgroundColor() const; |
161 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 164 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 gpu::Mailbox last_mailbox_; | 236 gpu::Mailbox last_mailbox_; |
234 | 237 |
235 std::queue<base::Closure> ack_callbacks_; | 238 std::queue<base::Closure> ack_callbacks_; |
236 | 239 |
237 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 240 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
238 }; | 241 }; |
239 | 242 |
240 } // namespace content | 243 } // namespace content |
241 | 244 |
242 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 245 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |