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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 const gfx::Rect& src_subrect, | 99 const gfx::Rect& src_subrect, |
100 const gfx::Size& dst_size, | 100 const gfx::Size& dst_size, |
101 const base::Callback<void(bool)>& callback, | 101 const base::Callback<void(bool)>& callback, |
102 skia::PlatformBitmap* output) OVERRIDE; | 102 skia::PlatformBitmap* output) OVERRIDE; |
103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
104 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 104 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
105 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 105 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
106 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 106 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
107 virtual void UnhandledWheelEvent( | 107 virtual void UnhandledWheelEvent( |
108 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 108 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
109 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 109 virtual void ProcessTouchAck(bool processed) OVERRIDE; |
110 bool processed) OVERRIDE; | |
111 virtual void SetHasHorizontalScrollbar( | 110 virtual void SetHasHorizontalScrollbar( |
112 bool has_horizontal_scrollbar) OVERRIDE; | 111 bool has_horizontal_scrollbar) OVERRIDE; |
113 virtual void SetScrollOffsetPinning( | 112 virtual void SetScrollOffsetPinning( |
114 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 113 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
115 virtual bool LockMouse() OVERRIDE; | 114 virtual bool LockMouse() OVERRIDE; |
116 virtual void UnlockMouse() OVERRIDE; | 115 virtual void UnlockMouse() OVERRIDE; |
117 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; | 116 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; |
118 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE; | 117 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE; |
119 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; | 118 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; |
120 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, | 119 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // The handle for the transport surface (between renderer and browser-side | 161 // The handle for the transport surface (between renderer and browser-side |
163 // compositor) for this view. | 162 // compositor) for this view. |
164 gfx::GLSurfaceHandle shared_surface_; | 163 gfx::GLSurfaceHandle shared_surface_; |
165 | 164 |
166 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 165 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
167 }; | 166 }; |
168 | 167 |
169 } // namespace content | 168 } // namespace content |
170 | 169 |
171 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 170 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |