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 <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 #if defined(TOOLKIT_GTK) | 59 #if defined(TOOLKIT_GTK) |
60 #include "content/browser/renderer_host/backing_store_gtk.h" | 60 #include "content/browser/renderer_host/backing_store_gtk.h" |
61 #elif defined(OS_MACOSX) | 61 #elif defined(OS_MACOSX) |
62 #include "content/browser/renderer_host/backing_store_mac.h" | 62 #include "content/browser/renderer_host/backing_store_mac.h" |
63 #endif | 63 #endif |
64 | 64 |
65 using base::Time; | 65 using base::Time; |
66 using base::TimeDelta; | 66 using base::TimeDelta; |
67 using base::TimeTicks; | 67 using base::TimeTicks; |
| 68 using content::EditCommand; |
68 using WebKit::WebGestureEvent; | 69 using WebKit::WebGestureEvent; |
69 using WebKit::WebInputEvent; | 70 using WebKit::WebInputEvent; |
70 using WebKit::WebKeyboardEvent; | 71 using WebKit::WebKeyboardEvent; |
71 using WebKit::WebMouseEvent; | 72 using WebKit::WebMouseEvent; |
72 using WebKit::WebMouseWheelEvent; | 73 using WebKit::WebMouseWheelEvent; |
73 using WebKit::WebTextDirection; | 74 using WebKit::WebTextDirection; |
74 | 75 |
75 namespace content { | 76 namespace content { |
76 namespace { | 77 namespace { |
77 | 78 |
(...skipping 2086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2164 return; | 2165 return; |
2165 | 2166 |
2166 OnRenderAutoResized(new_size); | 2167 OnRenderAutoResized(new_size); |
2167 } | 2168 } |
2168 | 2169 |
2169 void RenderWidgetHostImpl::DetachDelegate() { | 2170 void RenderWidgetHostImpl::DetachDelegate() { |
2170 delegate_ = NULL; | 2171 delegate_ = NULL; |
2171 } | 2172 } |
2172 | 2173 |
2173 } // namespace content | 2174 } // namespace content |
OLD | NEW |