| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 virtual void Unselect() OVERRIDE; | 132 virtual void Unselect() OVERRIDE; |
| 133 virtual void UpdateTextDirection(blink::WebTextDirection direction) OVERRIDE; | 133 virtual void UpdateTextDirection(blink::WebTextDirection direction) OVERRIDE; |
| 134 virtual void NotifyTextDirection() OVERRIDE; | 134 virtual void NotifyTextDirection() OVERRIDE; |
| 135 virtual void Focus() OVERRIDE; | 135 virtual void Focus() OVERRIDE; |
| 136 virtual void Blur() OVERRIDE; | 136 virtual void Blur() OVERRIDE; |
| 137 virtual void SetActive(bool active) OVERRIDE; | 137 virtual void SetActive(bool active) OVERRIDE; |
| 138 virtual void CopyFromBackingStore( | 138 virtual void CopyFromBackingStore( |
| 139 const gfx::Rect& src_rect, | 139 const gfx::Rect& src_rect, |
| 140 const gfx::Size& accelerated_dst_size, | 140 const gfx::Size& accelerated_dst_size, |
| 141 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; | 141 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
| 142 virtual bool CanCopyFromBackingStore() OVERRIDE; |
| 143 virtual void LockForCopyFromBackingStore() OVERRIDE; |
| 144 virtual void UnlockForCopyFromBackingStore() OVERRIDE; |
| 142 #if defined(TOOLKIT_GTK) | 145 #if defined(TOOLKIT_GTK) |
| 143 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, | 146 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, |
| 144 GdkWindow* target) OVERRIDE; | 147 GdkWindow* target) OVERRIDE; |
| 145 #elif defined(OS_MACOSX) | 148 #elif defined(OS_MACOSX) |
| 146 virtual gfx::Size GetBackingStoreSize() OVERRIDE; | 149 virtual gfx::Size GetBackingStoreSize() OVERRIDE; |
| 147 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, | 150 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, |
| 148 CGContextRef target) OVERRIDE; | 151 CGContextRef target) OVERRIDE; |
| 149 #endif | 152 #endif |
| 150 virtual void EnableFullAccessibilityMode() OVERRIDE; | 153 virtual void EnableFullAccessibilityMode() OVERRIDE; |
| 151 virtual void ForwardMouseEvent( | 154 virtual void ForwardMouseEvent( |
| (...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; | 935 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; |
| 933 | 936 |
| 934 int64 last_input_number_; | 937 int64 last_input_number_; |
| 935 | 938 |
| 936 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 939 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 937 }; | 940 }; |
| 938 | 941 |
| 939 } // namespace content | 942 } // namespace content |
| 940 | 943 |
| 941 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 944 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |