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_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/gfx/gdi_util.h" |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/l10n_util_win.h" | 10 #include "app/l10n_util_win.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "chrome/browser/renderer_host/backing_store.h" | 23 #include "chrome/browser/renderer_host/backing_store.h" |
24 #include "chrome/browser/renderer_host/render_process_host.h" | 24 #include "chrome/browser/renderer_host/render_process_host.h" |
25 #include "chrome/browser/renderer_host/render_widget_host.h" | 25 #include "chrome/browser/renderer_host/render_widget_host.h" |
26 #include "chrome/common/chrome_constants.h" | 26 #include "chrome/common/chrome_constants.h" |
27 #include "chrome/common/chrome_switches.h" | 27 #include "chrome/common/chrome_switches.h" |
28 #include "chrome/common/native_web_keyboard_event.h" | 28 #include "chrome/common/native_web_keyboard_event.h" |
29 #include "chrome/common/plugin_messages.h" | 29 #include "chrome/common/plugin_messages.h" |
30 #include "chrome/common/render_messages.h" | 30 #include "chrome/common/render_messages.h" |
31 #include "grit/webkit_resources.h" | 31 #include "grit/webkit_resources.h" |
32 #include "skia/ext/skia_utils_win.h" | 32 #include "skia/ext/skia_utils_win.h" |
33 #include "webkit/api/public/WebInputEvent.h" | 33 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
34 #include "webkit/api/public/win/WebInputEventFactory.h" | 34 #include "third_party/WebKit/WebKit/chromium/public/win/WebInputEventFactory.h" |
35 #include "views/accessibility/view_accessibility.h" | 35 #include "views/accessibility/view_accessibility.h" |
36 #include "views/focus/focus_util_win.h" | 36 #include "views/focus/focus_util_win.h" |
37 // Included for views::kReflectedMessage - TODO(beng): move this to win_util.h! | 37 // Included for views::kReflectedMessage - TODO(beng): move this to win_util.h! |
38 #include "views/widget/widget_win.h" | 38 #include "views/widget/widget_win.h" |
39 #include "webkit/glue/plugins/plugin_constants_win.h" | 39 #include "webkit/glue/plugins/plugin_constants_win.h" |
40 #include "webkit/glue/plugins/webplugin_delegate_impl.h" | 40 #include "webkit/glue/plugins/webplugin_delegate_impl.h" |
41 #include "webkit/glue/webcursor.h" | 41 #include "webkit/glue/webcursor.h" |
42 | 42 |
43 using base::TimeDelta; | 43 using base::TimeDelta; |
44 using base::TimeTicks; | 44 using base::TimeTicks; |
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1402 SetFocus(); | 1402 SetFocus(); |
1403 } | 1403 } |
1404 } | 1404 } |
1405 | 1405 |
1406 void RenderWidgetHostViewWin::ShutdownHost() { | 1406 void RenderWidgetHostViewWin::ShutdownHost() { |
1407 shutdown_factory_.RevokeAll(); | 1407 shutdown_factory_.RevokeAll(); |
1408 if (render_widget_host_) | 1408 if (render_widget_host_) |
1409 render_widget_host_->Shutdown(); | 1409 render_widget_host_->Shutdown(); |
1410 // Do not touch any members at this point, |this| has been deleted. | 1410 // Do not touch any members at this point, |this| has been deleted. |
1411 } | 1411 } |
OLD | NEW |