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 <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 void UpdateTextDirection(blink::WebTextDirection direction) override; | 122 void UpdateTextDirection(blink::WebTextDirection direction) override; |
123 void NotifyTextDirection() override; | 123 void NotifyTextDirection() override; |
124 void Focus() override; | 124 void Focus() override; |
125 void Blur() override; | 125 void Blur() override; |
126 void SetActive(bool active) override; | 126 void SetActive(bool active) override; |
127 void CopyFromBackingStore(const gfx::Rect& src_rect, | 127 void CopyFromBackingStore(const gfx::Rect& src_rect, |
128 const gfx::Size& accelerated_dst_size, | 128 const gfx::Size& accelerated_dst_size, |
129 const ReadbackRequestCallback& callback, | 129 const ReadbackRequestCallback& callback, |
130 const SkColorType preferred_color_type) override; | 130 const SkColorType preferred_color_type) override; |
131 bool CanCopyFromBackingStore() override; | 131 bool CanCopyFromBackingStore() override; |
132 #if defined(OS_ANDROID) | 132 #if defined(OS_ANDROID) && !defined(USE_AURA) |
133 void LockBackingStore() override; | 133 void LockBackingStore() override; |
134 void UnlockBackingStore() override; | 134 void UnlockBackingStore() override; |
135 #endif | 135 #endif |
136 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; | 136 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; |
137 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override; | 137 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override; |
138 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; | 138 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; |
139 RenderProcessHost* GetProcess() const override; | 139 RenderProcessHost* GetProcess() const override; |
140 int GetRoutingID() const override; | 140 int GetRoutingID() const override; |
141 RenderWidgetHostView* GetView() const override; | 141 RenderWidgetHostView* GetView() const override; |
142 bool IsLoading() const override; | 142 bool IsLoading() const override; |
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 bool is_focused_; | 844 bool is_focused_; |
845 | 845 |
846 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 846 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
847 | 847 |
848 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 848 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
849 }; | 849 }; |
850 | 850 |
851 } // namespace content | 851 } // namespace content |
852 | 852 |
853 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 853 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |