OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/browser/renderer_host/render_widget_host.h" | 5 #include "chrome/browser/renderer_host/render_widget_host.h" |
6 | 6 |
7 #include "base/histogram.h" | 7 #include "base/histogram.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/keyboard_codes.h" | 9 #include "base/keyboard_codes.h" |
10 #include "chrome/browser/renderer_host/backing_store.h" | 10 #include "chrome/browser/renderer_host/backing_store.h" |
11 #include "chrome/browser/renderer_host/backing_store_manager.h" | 11 #include "chrome/browser/renderer_host/backing_store_manager.h" |
12 #include "chrome/browser/renderer_host/render_process_host.h" | 12 #include "chrome/browser/renderer_host/render_process_host.h" |
13 #include "chrome/browser/renderer_host/render_widget_helper.h" | 13 #include "chrome/browser/renderer_host/render_widget_helper.h" |
14 #include "chrome/browser/renderer_host/render_widget_host_painting_observer.h" | 14 #include "chrome/browser/renderer_host/render_widget_host_painting_observer.h" |
15 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 15 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
16 #include "chrome/common/notification_service.h" | 16 #include "chrome/common/notification_service.h" |
17 #include "chrome/common/render_messages.h" | 17 #include "chrome/common/render_messages.h" |
18 #include "webkit/glue/webcursor.h" | 18 #include "webkit/glue/webcursor.h" |
19 | 19 |
20 #if defined(TOOLKIT_VIEWS) | 20 #if defined(TOOLKIT_VIEWS) |
21 #include "views/view.h" | 21 #include "views/view.h" |
22 #endif | 22 #endif |
23 | 23 |
24 #if defined (OS_MACOSX) | 24 #if defined (OS_MACOSX) |
25 #include "webkit/api/public/WebScreenInfo.h" | 25 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h" |
26 #include "webkit/api/public/mac/WebScreenInfoFactory.h" | 26 #include "third_party/WebKit/WebKit/chromium/public/mac/WebScreenInfoFactory.h" |
27 #endif | 27 #endif |
28 | 28 |
29 using base::Time; | 29 using base::Time; |
30 using base::TimeDelta; | 30 using base::TimeDelta; |
31 using base::TimeTicks; | 31 using base::TimeTicks; |
32 | 32 |
33 using WebKit::WebInputEvent; | 33 using WebKit::WebInputEvent; |
34 using WebKit::WebKeyboardEvent; | 34 using WebKit::WebKeyboardEvent; |
35 using WebKit::WebMouseEvent; | 35 using WebKit::WebMouseEvent; |
36 using WebKit::WebMouseWheelEvent; | 36 using WebKit::WebMouseWheelEvent; |
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 Send(new ViewMsg_ToggleSpellPanel(routing_id(), is_currently_visible)); | 1042 Send(new ViewMsg_ToggleSpellPanel(routing_id(), is_currently_visible)); |
1043 } | 1043 } |
1044 | 1044 |
1045 void RenderWidgetHost::Replace(const string16& word) { | 1045 void RenderWidgetHost::Replace(const string16& word) { |
1046 Send(new ViewMsg_Replace(routing_id_, word)); | 1046 Send(new ViewMsg_Replace(routing_id_, word)); |
1047 } | 1047 } |
1048 | 1048 |
1049 void RenderWidgetHost::AdvanceToNextMisspelling() { | 1049 void RenderWidgetHost::AdvanceToNextMisspelling() { |
1050 Send(new ViewMsg_AdvanceToNextMisspelling(routing_id_)); | 1050 Send(new ViewMsg_AdvanceToNextMisspelling(routing_id_)); |
1051 } | 1051 } |
OLD | NEW |