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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 void UpdateTextDirection(blink::WebTextDirection direction) override; | 133 void UpdateTextDirection(blink::WebTextDirection direction) override; |
134 void NotifyTextDirection() override; | 134 void NotifyTextDirection() override; |
135 void Focus() override; | 135 void Focus() override; |
136 void Blur() override; | 136 void Blur() override; |
137 void SetActive(bool active) override; | 137 void SetActive(bool active) override; |
138 void CopyFromBackingStore(const gfx::Rect& src_rect, | 138 void CopyFromBackingStore(const gfx::Rect& src_rect, |
139 const gfx::Size& accelerated_dst_size, | 139 const gfx::Size& accelerated_dst_size, |
140 ReadbackRequestCallback& callback, | 140 ReadbackRequestCallback& callback, |
141 const SkColorType preferred_color_type) override; | 141 const SkColorType preferred_color_type) override; |
142 bool CanCopyFromBackingStore() override; | 142 bool CanCopyFromBackingStore() override; |
143 #if defined(OS_ANDROID) | 143 #if defined(OS_ANDROID) && !defined(USE_AURA) |
144 void LockBackingStore() override; | 144 void LockBackingStore() override; |
145 void UnlockBackingStore() override; | 145 void UnlockBackingStore() override; |
146 #endif | 146 #endif |
147 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; | 147 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; |
148 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override; | 148 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override; |
149 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; | 149 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; |
150 RenderProcessHost* GetProcess() const override; | 150 RenderProcessHost* GetProcess() const override; |
151 int GetRoutingID() const override; | 151 int GetRoutingID() const override; |
152 RenderWidgetHostView* GetView() const override; | 152 RenderWidgetHostView* GetView() const override; |
153 bool IsLoading() const override; | 153 bool IsLoading() const override; |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 bool is_focused_; | 816 bool is_focused_; |
817 | 817 |
818 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 818 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
819 | 819 |
820 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 820 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
821 }; | 821 }; |
822 | 822 |
823 } // namespace content | 823 } // namespace content |
824 | 824 |
825 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 825 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |