| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 const gfx::Rect& src_subrect, | 94 const gfx::Rect& src_subrect, |
| 95 const gfx::Size& dst_size, | 95 const gfx::Size& dst_size, |
| 96 const base::Callback<void(bool)>& callback, | 96 const base::Callback<void(bool)>& callback, |
| 97 skia::PlatformCanvas* output) OVERRIDE; | 97 skia::PlatformCanvas* output) OVERRIDE; |
| 98 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 98 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 99 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 99 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 100 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 100 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
| 101 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 101 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 102 virtual void UnhandledWheelEvent( | 102 virtual void UnhandledWheelEvent( |
| 103 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 103 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 104 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 104 virtual void ProcessTouchAck(bool processed) OVERRIDE; |
| 105 bool processed) OVERRIDE; | |
| 106 virtual void SetHasHorizontalScrollbar( | 105 virtual void SetHasHorizontalScrollbar( |
| 107 bool has_horizontal_scrollbar) OVERRIDE; | 106 bool has_horizontal_scrollbar) OVERRIDE; |
| 108 virtual void SetScrollOffsetPinning( | 107 virtual void SetScrollOffsetPinning( |
| 109 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 108 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 110 virtual bool LockMouse() OVERRIDE; | 109 virtual bool LockMouse() OVERRIDE; |
| 111 virtual void UnlockMouse() OVERRIDE; | 110 virtual void UnlockMouse() OVERRIDE; |
| 112 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; | 111 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; |
| 113 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE; | 112 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE; |
| 114 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; | 113 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; |
| 115 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, | 114 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 // The handle for the transport surface (between renderer and browser-side | 156 // The handle for the transport surface (between renderer and browser-side |
| 158 // compositor) for this view. | 157 // compositor) for this view. |
| 159 gfx::GLSurfaceHandle shared_surface_; | 158 gfx::GLSurfaceHandle shared_surface_; |
| 160 | 159 |
| 161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 160 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 162 }; | 161 }; |
| 163 | 162 |
| 164 } // namespace content | 163 } // namespace content |
| 165 | 164 |
| 166 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 165 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |