| 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/process.h" | 10 #include "base/process.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 82 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
| 83 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 83 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
| 84 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 84 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| 85 virtual void CopyFromCompositingSurface( | 85 virtual void CopyFromCompositingSurface( |
| 86 const gfx::Size& size, | 86 const gfx::Size& size, |
| 87 const base::Callback<void(bool)>& callback, | 87 const base::Callback<void(bool)>& callback, |
| 88 skia::PlatformCanvas* output) OVERRIDE; | 88 skia::PlatformCanvas* output) OVERRIDE; |
| 89 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 89 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 90 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 90 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 91 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 91 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
| 92 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 92 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 93 virtual void UnhandledWheelEvent( | 93 virtual void UnhandledWheelEvent( |
| 94 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 94 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 95 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 95 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
| 96 bool processed) OVERRIDE; | 96 bool processed) OVERRIDE; |
| 97 virtual void SetHasHorizontalScrollbar( | 97 virtual void SetHasHorizontalScrollbar( |
| 98 bool has_horizontal_scrollbar) OVERRIDE; | 98 bool has_horizontal_scrollbar) OVERRIDE; |
| 99 virtual void SetScrollOffsetPinning( | 99 virtual void SetScrollOffsetPinning( |
| 100 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 100 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 101 virtual bool LockMouse() OVERRIDE; | 101 virtual bool LockMouse() OVERRIDE; |
| 102 virtual void UnlockMouse() OVERRIDE; | 102 virtual void UnlockMouse() OVERRIDE; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 117 // The size that we want the renderer to be. We keep this in a separate | 117 // The size that we want the renderer to be. We keep this in a separate |
| 118 // variable because resizing is async. | 118 // variable because resizing is async. |
| 119 gfx::Size requested_size_; | 119 gfx::Size requested_size_; |
| 120 | 120 |
| 121 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 121 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace content | 124 } // namespace content |
| 125 | 125 |
| 126 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 126 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |