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 NotifyTextDirection() override; | 133 void NotifyTextDirection() override; |
134 void Focus() override; | 134 void Focus() override; |
135 void Blur() override; | 135 void Blur() override; |
136 void SetActive(bool active) override; | 136 void SetActive(bool active) override; |
137 void CopyFromBackingStore(const gfx::Rect& src_rect, | 137 void CopyFromBackingStore(const gfx::Rect& src_rect, |
138 const gfx::Size& accelerated_dst_size, | 138 const gfx::Size& accelerated_dst_size, |
139 ReadbackRequestCallback& callback, | 139 ReadbackRequestCallback& callback, |
140 const SkColorType color_type) override; | 140 const SkColorType color_type) override; |
141 bool CanCopyFromBackingStore() override; | 141 bool CanCopyFromBackingStore() override; |
142 #if defined(OS_ANDROID) | 142 #if defined(OS_ANDROID) |
143 virtual void LockBackingStore() override; | 143 void LockBackingStore() override; |
144 virtual void UnlockBackingStore() override; | 144 void UnlockBackingStore() override; |
145 #endif | 145 #endif |
146 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; | 146 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; |
147 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override; | 147 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override; |
148 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; | 148 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; |
149 RenderProcessHost* GetProcess() const override; | 149 RenderProcessHost* GetProcess() const override; |
150 int GetRoutingID() const override; | 150 int GetRoutingID() const override; |
151 RenderWidgetHostView* GetView() const override; | 151 RenderWidgetHostView* GetView() const override; |
152 bool IsLoading() const override; | 152 bool IsLoading() const override; |
153 bool IsRenderView() const override; | 153 bool IsRenderView() const override; |
154 void ResizeRectChanged(const gfx::Rect& new_rect) override; | 154 void ResizeRectChanged(const gfx::Rect& new_rect) override; |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 bool owned_by_render_frame_host_; | 842 bool owned_by_render_frame_host_; |
843 | 843 |
844 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 844 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
845 | 845 |
846 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 846 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
847 }; | 847 }; |
848 | 848 |
849 } // namespace content | 849 } // namespace content |
850 | 850 |
851 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 851 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |