| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 // RenderWidgetHost implementation. | 127 // RenderWidgetHost implementation. |
| 128 virtual void UpdateTextDirection(blink::WebTextDirection direction) OVERRIDE; | 128 virtual void UpdateTextDirection(blink::WebTextDirection direction) OVERRIDE; |
| 129 virtual void NotifyTextDirection() OVERRIDE; | 129 virtual void NotifyTextDirection() OVERRIDE; |
| 130 virtual void Focus() OVERRIDE; | 130 virtual void Focus() OVERRIDE; |
| 131 virtual void Blur() OVERRIDE; | 131 virtual void Blur() OVERRIDE; |
| 132 virtual void SetActive(bool active) OVERRIDE; | 132 virtual void SetActive(bool active) OVERRIDE; |
| 133 virtual void CopyFromBackingStore( | 133 virtual void CopyFromBackingStore( |
| 134 const gfx::Rect& src_rect, | 134 const gfx::Rect& src_rect, |
| 135 const gfx::Size& accelerated_dst_size, | 135 const gfx::Size& accelerated_dst_size, |
| 136 const base::Callback<void(bool, const SkBitmap&)>& callback, | 136 const base::Callback<void(bool, const SkBitmap&, const int&)>& callback, |
| 137 const SkColorType color_type) OVERRIDE; | 137 const SkColorType color_type) OVERRIDE; |
| 138 virtual bool CanCopyFromBackingStore() OVERRIDE; | 138 virtual bool CanCopyFromBackingStore() OVERRIDE; |
| 139 #if defined(OS_ANDROID) | 139 #if defined(OS_ANDROID) |
| 140 virtual void LockBackingStore() OVERRIDE; | 140 virtual void LockBackingStore() OVERRIDE; |
| 141 virtual void UnlockBackingStore() OVERRIDE; | 141 virtual void UnlockBackingStore() OVERRIDE; |
| 142 #endif | 142 #endif |
| 143 virtual void ForwardMouseEvent( | 143 virtual void ForwardMouseEvent( |
| 144 const blink::WebMouseEvent& mouse_event) OVERRIDE; | 144 const blink::WebMouseEvent& mouse_event) OVERRIDE; |
| 145 virtual void ForwardWheelEvent( | 145 virtual void ForwardWheelEvent( |
| 146 const blink::WebMouseWheelEvent& wheel_event) OVERRIDE; | 146 const blink::WebMouseWheelEvent& wheel_event) OVERRIDE; |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 848 typedef std::map<int, | 848 typedef std::map<int, |
| 849 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; | 849 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; |
| 850 PendingSnapshotMap pending_browser_snapshots_; | 850 PendingSnapshotMap pending_browser_snapshots_; |
| 851 | 851 |
| 852 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 852 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 853 }; | 853 }; |
| 854 | 854 |
| 855 } // namespace content | 855 } // namespace content |
| 856 | 856 |
| 857 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 857 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |