| 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 virtual void UpdateTextDirection(blink::WebTextDirection direction) OVERRIDE; | 131 virtual void UpdateTextDirection(blink::WebTextDirection direction) OVERRIDE; |
| 132 virtual void NotifyTextDirection() OVERRIDE; | 132 virtual void NotifyTextDirection() OVERRIDE; |
| 133 virtual void Focus() OVERRIDE; | 133 virtual void Focus() OVERRIDE; |
| 134 virtual void Blur() OVERRIDE; | 134 virtual void Blur() OVERRIDE; |
| 135 virtual void SetActive(bool active) OVERRIDE; | 135 virtual void SetActive(bool active) OVERRIDE; |
| 136 virtual void CopyFromBackingStore( | 136 virtual void CopyFromBackingStore( |
| 137 const gfx::Rect& src_rect, | 137 const gfx::Rect& src_rect, |
| 138 const gfx::Size& accelerated_dst_size, | 138 const gfx::Size& accelerated_dst_size, |
| 139 const base::Callback<void(bool, const SkBitmap&)>& callback, | 139 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 140 const SkBitmap::Config& bitmap_config) OVERRIDE; | 140 const SkBitmap::Config& bitmap_config) OVERRIDE; |
| 141 virtual bool CanCopyFromBackingStore() OVERRIDE; |
| 142 #if defined(OS_ANDROID) |
| 143 virtual void LockBackingStore() OVERRIDE; |
| 144 virtual void UnlockBackingStore() OVERRIDE; |
| 145 #endif |
| 141 #if defined(TOOLKIT_GTK) | 146 #if defined(TOOLKIT_GTK) |
| 142 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, | 147 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, |
| 143 GdkWindow* target) OVERRIDE; | 148 GdkWindow* target) OVERRIDE; |
| 144 #elif defined(OS_MACOSX) | 149 #elif defined(OS_MACOSX) |
| 145 virtual gfx::Size GetBackingStoreSize() OVERRIDE; | 150 virtual gfx::Size GetBackingStoreSize() OVERRIDE; |
| 146 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, | 151 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, |
| 147 CGContextRef target) OVERRIDE; | 152 CGContextRef target) OVERRIDE; |
| 148 #endif | 153 #endif |
| 149 virtual void EnableFullAccessibilityMode() OVERRIDE; | 154 virtual void EnableFullAccessibilityMode() OVERRIDE; |
| 150 virtual void ForwardMouseEvent( | 155 virtual void ForwardMouseEvent( |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; | 946 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; |
| 942 | 947 |
| 943 int64 last_input_number_; | 948 int64 last_input_number_; |
| 944 | 949 |
| 945 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 950 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 946 }; | 951 }; |
| 947 | 952 |
| 948 } // namespace content | 953 } // namespace content |
| 949 | 954 |
| 950 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 955 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |