| 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/bookmark_bar_model.h" | 10 #include "chrome/browser/bookmarks/bookmark_bar_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_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" |
| (...skipping 2562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2583 | 2583 |
| 2584 BOOL WebContents::EnumPluginWindowsCallback(HWND window, LPARAM) { | 2584 BOOL WebContents::EnumPluginWindowsCallback(HWND window, LPARAM) { |
| 2585 if (WebPluginDelegateImpl::IsPluginDelegateWindow(window)) { | 2585 if (WebPluginDelegateImpl::IsPluginDelegateWindow(window)) { |
| 2586 ::ShowWindow(window, SW_HIDE); | 2586 ::ShowWindow(window, SW_HIDE); |
| 2587 SetParent(window, NULL); | 2587 SetParent(window, NULL); |
| 2588 } | 2588 } |
| 2589 | 2589 |
| 2590 return TRUE; | 2590 return TRUE; |
| 2591 } | 2591 } |
| 2592 | 2592 |
| OLD | NEW |