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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 #include "skia/ext/image_operations.h" | 70 #include "skia/ext/image_operations.h" |
71 #include "skia/ext/platform_canvas.h" | 71 #include "skia/ext/platform_canvas.h" |
72 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 72 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
73 #include "ui/events/event.h" | 73 #include "ui/events/event.h" |
74 #include "ui/events/keycodes/keyboard_codes.h" | 74 #include "ui/events/keycodes/keyboard_codes.h" |
75 #include "ui/gfx/geometry/size_conversions.h" | 75 #include "ui/gfx/geometry/size_conversions.h" |
76 #include "ui/gfx/geometry/vector2d_conversions.h" | 76 #include "ui/gfx/geometry/vector2d_conversions.h" |
77 #include "ui/gfx/skbitmap_operations.h" | 77 #include "ui/gfx/skbitmap_operations.h" |
78 #include "ui/snapshot/snapshot.h" | 78 #include "ui/snapshot/snapshot.h" |
79 | 79 |
80 #if defined(OS_WIN) | |
81 #include "content/common/plugin_constants_win.h" | |
82 #endif | |
83 | |
84 #if defined(OS_MACOSX) | 80 #if defined(OS_MACOSX) |
85 #include "ui/accelerated_widget_mac/window_resize_helper_mac.h" | 81 #include "ui/accelerated_widget_mac/window_resize_helper_mac.h" |
86 #endif | 82 #endif |
87 | 83 |
88 using base::Time; | 84 using base::Time; |
89 using base::TimeDelta; | 85 using base::TimeDelta; |
90 using base::TimeTicks; | 86 using base::TimeTicks; |
91 using blink::WebGestureEvent; | 87 using blink::WebGestureEvent; |
92 using blink::WebInputEvent; | 88 using blink::WebInputEvent; |
93 using blink::WebKeyboardEvent; | 89 using blink::WebKeyboardEvent; |
(...skipping 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2167 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL; | 2163 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL; |
2168 } | 2164 } |
2169 | 2165 |
2170 BrowserAccessibilityManager* | 2166 BrowserAccessibilityManager* |
2171 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() { | 2167 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() { |
2172 return delegate_ ? | 2168 return delegate_ ? |
2173 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL; | 2169 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL; |
2174 } | 2170 } |
2175 | 2171 |
2176 } // namespace content | 2172 } // namespace content |
OLD | NEW |