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 #include "content/browser/renderer_host/render_widget_host_impl.h" | 5 #include "content/browser/renderer_host/render_widget_host_impl.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "content/common/view_messages.h" | 48 #include "content/common/view_messages.h" |
49 #include "content/port/browser/render_widget_host_view_port.h" | 49 #include "content/port/browser/render_widget_host_view_port.h" |
50 #include "content/public/browser/native_web_keyboard_event.h" | 50 #include "content/public/browser/native_web_keyboard_event.h" |
51 #include "content/public/browser/notification_service.h" | 51 #include "content/public/browser/notification_service.h" |
52 #include "content/public/browser/notification_types.h" | 52 #include "content/public/browser/notification_types.h" |
53 #include "content/public/browser/render_widget_host_iterator.h" | 53 #include "content/public/browser/render_widget_host_iterator.h" |
54 #include "content/public/browser/user_metrics.h" | 54 #include "content/public/browser/user_metrics.h" |
55 #include "content/public/common/content_constants.h" | 55 #include "content/public/common/content_constants.h" |
56 #include "content/public/common/content_switches.h" | 56 #include "content/public/common/content_switches.h" |
57 #include "content/public/common/result_codes.h" | 57 #include "content/public/common/result_codes.h" |
| 58 #include "content/public/common/webpreferences.h" |
58 #include "skia/ext/image_operations.h" | 59 #include "skia/ext/image_operations.h" |
59 #include "skia/ext/platform_canvas.h" | 60 #include "skia/ext/platform_canvas.h" |
60 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 61 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
61 #include "ui/events/event.h" | 62 #include "ui/events/event.h" |
62 #include "ui/events/keycodes/keyboard_codes.h" | 63 #include "ui/events/keycodes/keyboard_codes.h" |
63 #include "ui/gfx/size_conversions.h" | 64 #include "ui/gfx/size_conversions.h" |
64 #include "ui/gfx/skbitmap_operations.h" | 65 #include "ui/gfx/skbitmap_operations.h" |
65 #include "ui/gfx/vector2d_conversions.h" | 66 #include "ui/gfx/vector2d_conversions.h" |
66 #include "ui/snapshot/snapshot.h" | 67 #include "ui/snapshot/snapshot.h" |
67 #include "webkit/common/cursors/webcursor.h" | 68 #include "webkit/common/cursors/webcursor.h" |
68 #include "webkit/common/webpreferences.h" | |
69 | 69 |
70 #if defined(TOOLKIT_GTK) | 70 #if defined(TOOLKIT_GTK) |
71 #include "content/browser/renderer_host/backing_store_gtk.h" | 71 #include "content/browser/renderer_host/backing_store_gtk.h" |
72 #elif defined(OS_MACOSX) | 72 #elif defined(OS_MACOSX) |
73 #include "content/browser/renderer_host/backing_store_mac.h" | 73 #include "content/browser/renderer_host/backing_store_mac.h" |
74 #elif defined(OS_WIN) | 74 #elif defined(OS_WIN) |
75 #include "content/common/plugin_constants_win.h" | 75 #include "content/common/plugin_constants_win.h" |
76 #endif | 76 #endif |
77 | 77 |
78 using base::Time; | 78 using base::Time; |
(...skipping 2490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2569 } | 2569 } |
2570 } | 2570 } |
2571 | 2571 |
2572 // Add newly generated components into the latency info | 2572 // Add newly generated components into the latency info |
2573 for (lc = new_components.begin(); lc != new_components.end(); ++lc) { | 2573 for (lc = new_components.begin(); lc != new_components.end(); ++lc) { |
2574 latency_info->latency_components[lc->first] = lc->second; | 2574 latency_info->latency_components[lc->first] = lc->second; |
2575 } | 2575 } |
2576 } | 2576 } |
2577 | 2577 |
2578 } // namespace content | 2578 } // namespace content |
OLD | NEW |