OLD | NEW |
1 // Copyright (c) 2006-2008 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_view_win.h" | 5 #include "chrome/browser/renderer_host/render_widget_host_view_win.h" |
6 | 6 |
7 #include "app/gfx/canvas.h" | 7 #include "app/gfx/canvas.h" |
| 8 #include "app/gfx/gdi_util.h" |
8 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
9 #include "app/l10n_util_win.h" | 10 #include "app/l10n_util_win.h" |
10 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
11 #include "base/command_line.h" | 12 #include "base/command_line.h" |
12 #include "base/gfx/gdi_util.h" | |
13 #include "base/gfx/rect.h" | 13 #include "base/gfx/rect.h" |
14 #include "base/histogram.h" | 14 #include "base/histogram.h" |
15 #include "base/process_util.h" | 15 #include "base/process_util.h" |
16 #include "base/thread.h" | 16 #include "base/thread.h" |
17 #include "base/win_util.h" | 17 #include "base/win_util.h" |
18 #include "chrome/browser/browser_accessibility_manager.h" | 18 #include "chrome/browser/browser_accessibility_manager.h" |
19 #include "chrome/browser/browser_process.h" | 19 #include "chrome/browser/browser_process.h" |
20 #include "chrome/browser/browser_trial.h" | 20 #include "chrome/browser/browser_trial.h" |
21 #include "chrome/browser/plugin_process_host.h" | 21 #include "chrome/browser/plugin_process_host.h" |
22 #include "chrome/browser/renderer_host/backing_store.h" | 22 #include "chrome/browser/renderer_host/backing_store.h" |
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1324 // WM_LBUTTONDOWN. | 1324 // WM_LBUTTONDOWN. |
1325 SetFocus(); | 1325 SetFocus(); |
1326 } | 1326 } |
1327 } | 1327 } |
1328 | 1328 |
1329 void RenderWidgetHostViewWin::ShutdownHost() { | 1329 void RenderWidgetHostViewWin::ShutdownHost() { |
1330 shutdown_factory_.RevokeAll(); | 1330 shutdown_factory_.RevokeAll(); |
1331 render_widget_host_->Shutdown(); | 1331 render_widget_host_->Shutdown(); |
1332 // Do not touch any members at this point, |this| has been deleted. | 1332 // Do not touch any members at this point, |this| has been deleted. |
1333 } | 1333 } |
OLD | NEW |