| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 virtual void WasResized() OVERRIDE; | 163 virtual void WasResized() OVERRIDE; |
| 164 virtual void AddKeyPressEventCallback( | 164 virtual void AddKeyPressEventCallback( |
| 165 const KeyPressEventCallback& callback) OVERRIDE; | 165 const KeyPressEventCallback& callback) OVERRIDE; |
| 166 virtual void RemoveKeyPressEventCallback( | 166 virtual void RemoveKeyPressEventCallback( |
| 167 const KeyPressEventCallback& callback) OVERRIDE; | 167 const KeyPressEventCallback& callback) OVERRIDE; |
| 168 virtual void AddMouseEventCallback( | 168 virtual void AddMouseEventCallback( |
| 169 const MouseEventCallback& callback) OVERRIDE; | 169 const MouseEventCallback& callback) OVERRIDE; |
| 170 virtual void RemoveMouseEventCallback( | 170 virtual void RemoveMouseEventCallback( |
| 171 const MouseEventCallback& callback) OVERRIDE; | 171 const MouseEventCallback& callback) OVERRIDE; |
| 172 virtual void GetWebScreenInfo(blink::WebScreenInfo* result) OVERRIDE; | 172 virtual void GetWebScreenInfo(blink::WebScreenInfo* result) OVERRIDE; |
| 173 virtual void GetSnapshotFromRenderer( | |
| 174 const gfx::Rect& src_subrect, | |
| 175 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; | |
| 176 | 173 |
| 177 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; | 174 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
| 178 | 175 |
| 179 virtual void AccessibilityDoDefaultAction(int object_id) OVERRIDE; | 176 virtual void AccessibilityDoDefaultAction(int object_id) OVERRIDE; |
| 180 virtual void AccessibilitySetFocus(int object_id) OVERRIDE; | 177 virtual void AccessibilitySetFocus(int object_id) OVERRIDE; |
| 181 virtual void AccessibilityScrollToMakeVisible( | 178 virtual void AccessibilityScrollToMakeVisible( |
| 182 int acc_obj_id, gfx::Rect subfocus) OVERRIDE; | 179 int acc_obj_id, gfx::Rect subfocus) OVERRIDE; |
| 183 virtual void AccessibilityScrollToPoint( | 180 virtual void AccessibilityScrollToPoint( |
| 184 int acc_obj_id, gfx::Point point) OVERRIDE; | 181 int acc_obj_id, gfx::Point point) OVERRIDE; |
| 185 virtual void AccessibilitySetTextSelection( | 182 virtual void AccessibilitySetTextSelection( |
| (...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 scoped_ptr<InputRouter> input_router_; | 871 scoped_ptr<InputRouter> input_router_; |
| 875 | 872 |
| 876 scoped_ptr<OverscrollController> overscroll_controller_; | 873 scoped_ptr<OverscrollController> overscroll_controller_; |
| 877 | 874 |
| 878 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_; | 875 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_; |
| 879 | 876 |
| 880 #if defined(OS_WIN) | 877 #if defined(OS_WIN) |
| 881 std::list<HWND> dummy_windows_for_activation_; | 878 std::list<HWND> dummy_windows_for_activation_; |
| 882 #endif | 879 #endif |
| 883 | 880 |
| 884 // List of callbacks for pending snapshot requests to the renderer. | |
| 885 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; | |
| 886 | |
| 887 int64 last_input_number_; | 881 int64 last_input_number_; |
| 888 | 882 |
| 889 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 883 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 890 }; | 884 }; |
| 891 | 885 |
| 892 } // namespace content | 886 } // namespace content |
| 893 | 887 |
| 894 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 888 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |