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 "app/l10n_util.h" |
| 8 #include "app/l10n_util_win.h" |
7 #include "app/resource_bundle.h" | 9 #include "app/resource_bundle.h" |
8 #include "base/command_line.h" | 10 #include "base/command_line.h" |
9 #include "base/gfx/gdi_util.h" | 11 #include "base/gfx/gdi_util.h" |
10 #include "base/gfx/rect.h" | 12 #include "base/gfx/rect.h" |
11 #include "base/histogram.h" | 13 #include "base/histogram.h" |
12 #include "base/win_util.h" | 14 #include "base/win_util.h" |
13 #include "chrome/browser/browser_accessibility.h" | 15 #include "chrome/browser/browser_accessibility.h" |
14 #include "chrome/browser/browser_accessibility_manager.h" | 16 #include "chrome/browser/browser_accessibility_manager.h" |
15 #include "chrome/browser/browser_process.h" | 17 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/browser_trial.h" | 18 #include "chrome/browser/browser_trial.h" |
17 #include "chrome/browser/plugin_process_host.h" | 19 #include "chrome/browser/plugin_process_host.h" |
18 #include "chrome/browser/renderer_host/backing_store.h" | 20 #include "chrome/browser/renderer_host/backing_store.h" |
19 #include "chrome/browser/renderer_host/render_process_host.h" | 21 #include "chrome/browser/renderer_host/render_process_host.h" |
20 #include "chrome/browser/renderer_host/render_widget_host.h" | 22 #include "chrome/browser/renderer_host/render_widget_host.h" |
21 #include "chrome/common/chrome_constants.h" | 23 #include "chrome/common/chrome_constants.h" |
22 #include "chrome/common/chrome_switches.h" | 24 #include "chrome/common/chrome_switches.h" |
23 #include "chrome/common/gfx/chrome_canvas.h" | 25 #include "chrome/common/gfx/chrome_canvas.h" |
24 #include "chrome/common/l10n_util.h" | |
25 #include "chrome/common/l10n_util_win.h" | |
26 #include "chrome/common/native_web_keyboard_event.h" | 26 #include "chrome/common/native_web_keyboard_event.h" |
27 #include "chrome/common/plugin_messages.h" | 27 #include "chrome/common/plugin_messages.h" |
28 #include "chrome/common/render_messages.h" | 28 #include "chrome/common/render_messages.h" |
29 #include "chrome/common/win_util.h" | 29 #include "chrome/common/win_util.h" |
30 #include "chrome/views/focus/focus_util_win.h" | 30 #include "chrome/views/focus/focus_util_win.h" |
31 // Included for views::kReflectedMessage - TODO(beng): move this to win_util.h! | 31 // Included for views::kReflectedMessage - TODO(beng): move this to win_util.h! |
32 #include "chrome/views/widget/widget_win.h" | 32 #include "chrome/views/widget/widget_win.h" |
33 #include "grit/webkit_resources.h" | 33 #include "grit/webkit_resources.h" |
34 #include "skia/ext/skia_utils_win.h" | 34 #include "skia/ext/skia_utils_win.h" |
35 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" | 35 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 // WM_LBUTTONDOWN. | 1312 // WM_LBUTTONDOWN. |
1313 SetFocus(); | 1313 SetFocus(); |
1314 } | 1314 } |
1315 } | 1315 } |
1316 | 1316 |
1317 void RenderWidgetHostViewWin::ShutdownHost() { | 1317 void RenderWidgetHostViewWin::ShutdownHost() { |
1318 shutdown_factory_.RevokeAll(); | 1318 shutdown_factory_.RevokeAll(); |
1319 render_widget_host_->Shutdown(); | 1319 render_widget_host_->Shutdown(); |
1320 // Do not touch any members at this point, |this| has been deleted. | 1320 // Do not touch any members at this point, |this| has been deleted. |
1321 } | 1321 } |
OLD | NEW |