| 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; | |
| 69 using WebKit::WebGestureEvent; | 68 using WebKit::WebGestureEvent; |
| 70 using WebKit::WebInputEvent; | 69 using WebKit::WebInputEvent; |
| 71 using WebKit::WebKeyboardEvent; | 70 using WebKit::WebKeyboardEvent; |
| 72 using WebKit::WebMouseEvent; | 71 using WebKit::WebMouseEvent; |
| 73 using WebKit::WebMouseWheelEvent; | 72 using WebKit::WebMouseWheelEvent; |
| 74 using WebKit::WebTextDirection; | 73 using WebKit::WebTextDirection; |
| 75 | 74 |
| 76 namespace content { | 75 namespace content { |
| 77 namespace { | 76 namespace { |
| 78 | 77 |
| (...skipping 2090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2169 return; | 2168 return; |
| 2170 | 2169 |
| 2171 OnRenderAutoResized(new_size); | 2170 OnRenderAutoResized(new_size); |
| 2172 } | 2171 } |
| 2173 | 2172 |
| 2174 void RenderWidgetHostImpl::DetachDelegate() { | 2173 void RenderWidgetHostImpl::DetachDelegate() { |
| 2175 delegate_ = NULL; | 2174 delegate_ = NULL; |
| 2176 } | 2175 } |
| 2177 | 2176 |
| 2178 } // namespace content | 2177 } // namespace content |
| OLD | NEW |