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> |
11 #include <queue> | 11 #include <queue> |
12 #include <string> | 12 #include <string> |
13 #include <utility> | 13 #include <utility> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/callback.h" | 16 #include "base/callback.h" |
17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
18 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
20 #include "base/observer_list.h" | 20 #include "base/observer_list.h" |
21 #include "base/process_util.h" | 21 #include "base/process_util.h" |
22 #include "base/string16.h" | 22 #include "base/string16.h" |
23 #include "base/time.h" | 23 #include "base/time.h" |
24 #include "base/timer.h" | 24 #include "base/timer.h" |
25 #include "build/build_config.h" | 25 #include "build/build_config.h" |
26 #include "content/browser/renderer_host/event_with_latency_info.h" | 26 #include "content/browser/renderer_host/event_with_latency_info.h" |
27 #include "content/browser/renderer_host/smooth_scroll_gesture_controller.h" | 27 #include "content/browser/renderer_host/smooth_scroll_gesture_controller.h" |
| 28 #include "content/common/browser_rendering_stats.h" |
28 #include "content/common/view_message_enums.h" | 29 #include "content/common/view_message_enums.h" |
29 #include "content/port/common/input_event_ack_state.h" | 30 #include "content/port/common/input_event_ack_state.h" |
30 #include "content/public/browser/render_widget_host.h" | 31 #include "content/public/browser/render_widget_host.h" |
31 #include "content/public/common/page_zoom.h" | 32 #include "content/public/common/page_zoom.h" |
32 #include "ipc/ipc_listener.h" | 33 #include "ipc/ipc_listener.h" |
33 #include "ui/base/ime/text_input_type.h" | 34 #include "ui/base/ime/text_input_type.h" |
34 #include "ui/base/latency_info.h" | 35 #include "ui/base/latency_info.h" |
35 #include "ui/gfx/native_widget_types.h" | 36 #include "ui/gfx/native_widget_types.h" |
36 | 37 |
37 class WebCursor; | 38 class WebCursor; |
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 | 910 |
910 #if defined(OS_WIN) | 911 #if defined(OS_WIN) |
911 std::list<HWND> dummy_windows_for_activation_; | 912 std::list<HWND> dummy_windows_for_activation_; |
912 #endif | 913 #endif |
913 | 914 |
914 // List of callbacks for pending snapshot requests to the renderer. | 915 // List of callbacks for pending snapshot requests to the renderer. |
915 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; | 916 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; |
916 | 917 |
917 int64 last_input_number_; | 918 int64 last_input_number_; |
918 | 919 |
| 920 BrowserRenderingStats rendering_stats_; |
| 921 |
919 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 922 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
920 }; | 923 }; |
921 | 924 |
922 } // namespace content | 925 } // namespace content |
923 | 926 |
924 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 927 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |