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/web_contents.h" | 5 #include "chrome/browser/web_contents.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_version_info.h" | 8 #include "base/file_version_info.h" |
9 #include "chrome/app/locales/locale_settings.h" | 9 #include "chrome/app/locales/locale_settings.h" |
10 #include "chrome/browser/bookmarks/bookmark_model.h" | 10 #include "chrome/browser/bookmarks/bookmark_model.h" |
11 #include "chrome/browser/browser.h" | 11 #include "chrome/browser/browser.h" |
12 #include "chrome/browser/cache_manager_host.h" | 12 #include "chrome/browser/cache_manager_host.h" |
13 #include "chrome/browser/character_encoding.h" | 13 #include "chrome/browser/character_encoding.h" |
14 #include "chrome/browser/dom_operation_notification_details.h" | 14 #include "chrome/browser/dom_operation_notification_details.h" |
15 #include "chrome/browser/download_manager.h" | 15 #include "chrome/browser/download/download_manager.h" |
16 #include "chrome/browser/find_in_page_controller.h" | 16 #include "chrome/browser/find_in_page_controller.h" |
17 #include "chrome/browser/find_notification_details.h" | 17 #include "chrome/browser/find_notification_details.h" |
18 #include "chrome/browser/google_util.h" | 18 #include "chrome/browser/google_util.h" |
19 #include "chrome/browser/interstitial_page_delegate.h" | 19 #include "chrome/browser/interstitial_page_delegate.h" |
20 #include "chrome/browser/js_before_unload_handler.h" | 20 #include "chrome/browser/js_before_unload_handler.h" |
21 #include "chrome/browser/jsmessage_box_handler.h" | 21 #include "chrome/browser/jsmessage_box_handler.h" |
22 #include "chrome/browser/load_from_memory_cache_details.h" | 22 #include "chrome/browser/load_from_memory_cache_details.h" |
23 #include "chrome/browser/load_notification_details.h" | 23 #include "chrome/browser/load_notification_details.h" |
24 #include "chrome/browser/modal_html_dialog_delegate.h" | 24 #include "chrome/browser/modal_html_dialog_delegate.h" |
25 #include "chrome/browser/navigation_entry.h" | 25 #include "chrome/browser/navigation_entry.h" |
(...skipping 2554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2580 } | 2580 } |
2581 | 2581 |
2582 BOOL WebContents::EnumPluginWindowsCallback(HWND window, LPARAM) { | 2582 BOOL WebContents::EnumPluginWindowsCallback(HWND window, LPARAM) { |
2583 if (WebPluginDelegateImpl::IsPluginDelegateWindow(window)) { | 2583 if (WebPluginDelegateImpl::IsPluginDelegateWindow(window)) { |
2584 ::ShowWindow(window, SW_HIDE); | 2584 ::ShowWindow(window, SW_HIDE); |
2585 SetParent(window, NULL); | 2585 SetParent(window, NULL); |
2586 } | 2586 } |
2587 | 2587 |
2588 return TRUE; | 2588 return TRUE; |
2589 } | 2589 } |
OLD | NEW |