OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_view_win.h" | 5 #include "chrome/browser/renderer_host/render_widget_host_view_win.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/gfx/gdi_util.h" | 8 #include "base/gfx/gdi_util.h" |
9 #include "base/gfx/rect.h" | 9 #include "base/gfx/rect.h" |
10 #include "base/histogram.h" | 10 #include "base/histogram.h" |
11 #include "base/win_util.h" | 11 #include "base/win_util.h" |
12 #include "chrome/browser/browser_accessibility.h" | 12 #include "chrome/browser/browser_accessibility.h" |
13 #include "chrome/browser/browser_accessibility_manager.h" | 13 #include "chrome/browser/browser_accessibility_manager.h" |
14 #include "chrome/browser/browser_trial.h" | 14 #include "chrome/browser/browser_trial.h" |
15 #include "chrome/browser/renderer_host/backing_store.h" | 15 #include "chrome/browser/renderer_host/backing_store.h" |
16 #include "chrome/browser/renderer_host/render_process_host.h" | 16 #include "chrome/browser/renderer_host/render_process_host.h" |
17 #include "chrome/browser/renderer_host/render_widget_host.h" | 17 #include "chrome/browser/renderer_host/render_widget_host.h" |
18 #include "chrome/common/chrome_constants.h" | 18 #include "chrome/common/chrome_constants.h" |
19 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
20 #include "chrome/common/l10n_util.h" | 20 #include "chrome/common/l10n_util.h" |
21 #include "chrome/common/plugin_messages.h" | 21 #include "chrome/common/plugin_messages.h" |
| 22 #include "chrome/common/render_messages.h" |
22 #include "chrome/common/win_util.h" | 23 #include "chrome/common/win_util.h" |
23 // Included for views::kReflectedMessage - TODO(beng): move this to win_util.h! | 24 // Included for views::kReflectedMessage - TODO(beng): move this to win_util.h! |
24 #include "chrome/views/widget_win.h" | 25 #include "chrome/views/widget_win.h" |
25 #include "webkit/glue/plugins/plugin_constants_win.h" | 26 #include "webkit/glue/plugins/plugin_constants_win.h" |
26 #include "webkit/glue/plugins/webplugin_delegate_impl.h" | 27 #include "webkit/glue/plugins/webplugin_delegate_impl.h" |
27 #include "webkit/glue/webcursor.h" | 28 #include "webkit/glue/webcursor.h" |
28 | 29 |
29 using base::TimeDelta; | 30 using base::TimeDelta; |
30 using base::TimeTicks; | 31 using base::TimeTicks; |
31 | 32 |
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 // WM_LBUTTONDOWN. | 972 // WM_LBUTTONDOWN. |
972 SetFocus(); | 973 SetFocus(); |
973 } | 974 } |
974 } | 975 } |
975 | 976 |
976 void RenderWidgetHostViewWin::ShutdownHost() { | 977 void RenderWidgetHostViewWin::ShutdownHost() { |
977 shutdown_factory_.RevokeAll(); | 978 shutdown_factory_.RevokeAll(); |
978 render_widget_host_->Shutdown(); | 979 render_widget_host_->Shutdown(); |
979 // Do not touch any members at this point, |this| has been deleted. | 980 // Do not touch any members at this point, |this| has been deleted. |
980 } | 981 } |
OLD | NEW |