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/render_widget_host_hwnd.h" | 5 #include "chrome/browser/render_widget_host_hwnd.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/gfx/bitmap_header.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/render_process_host.h" | 14 #include "chrome/browser/render_process_host.h" |
15 // TODO(beng): (Cleanup) we should not need to include this file... see comment | 15 // TODO(beng): (Cleanup) we should not need to include this file... see comment |
16 // in |DidBecomeSelected|. | 16 // in |DidBecomeSelected|. |
17 #include "chrome/browser/render_view_host.h" | 17 #include "chrome/browser/render_view_host.h" |
18 #include "chrome/browser/render_widget_host.h" | 18 #include "chrome/browser/render_widget_host.h" |
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 | 865 |
866 return TRUE; | 866 return TRUE; |
867 } | 867 } |
868 | 868 |
869 void RenderWidgetHostHWND::ShutdownHost() { | 869 void RenderWidgetHostHWND::ShutdownHost() { |
870 shutdown_factory_.RevokeAll(); | 870 shutdown_factory_.RevokeAll(); |
871 render_widget_host_->Shutdown(); | 871 render_widget_host_->Shutdown(); |
872 // Do not touch any members at this point, |this| has been deleted. | 872 // Do not touch any members at this point, |this| has been deleted. |
873 } | 873 } |
874 | 874 |
OLD | NEW |