| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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 "content/browser/plugin_service_impl.h" |    5 #include "content/browser/plugin_service_impl.h" | 
|    6  |    6  | 
|    7 #include "base/bind.h" |    7 #include "base/bind.h" | 
|    8 #include "base/command_line.h" |    8 #include "base/command_line.h" | 
|    9 #include "base/compiler_specific.h" |    9 #include "base/compiler_specific.h" | 
|   10 #include "base/files/file_path.h" |   10 #include "base/files/file_path.h" | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
|   26 #include "content/public/browser/content_browser_client.h" |   26 #include "content/public/browser/content_browser_client.h" | 
|   27 #include "content/public/browser/plugin_service_filter.h" |   27 #include "content/public/browser/plugin_service_filter.h" | 
|   28 #include "content/public/browser/resource_context.h" |   28 #include "content/public/browser/resource_context.h" | 
|   29 #include "content/public/common/content_constants.h" |   29 #include "content/public/common/content_constants.h" | 
|   30 #include "content/public/common/content_switches.h" |   30 #include "content/public/common/content_switches.h" | 
|   31 #include "content/public/common/process_type.h" |   31 #include "content/public/common/process_type.h" | 
|   32 #include "content/public/common/webplugininfo.h" |   32 #include "content/public/common/webplugininfo.h" | 
|   33  |   33  | 
|   34 #if defined(OS_WIN) |   34 #if defined(OS_WIN) | 
|   35 #include "content/common/plugin_constants_win.h" |   35 #include "content/common/plugin_constants_win.h" | 
|   36 #include "ui/base/win/hwnd_util.h" |   36 #include "ui/gfx/win/hwnd_util.h" | 
|   37 #endif |   37 #endif | 
|   38  |   38  | 
|   39 #if defined(OS_POSIX) |   39 #if defined(OS_POSIX) | 
|   40 #include "content/browser/plugin_loader_posix.h" |   40 #include "content/browser/plugin_loader_posix.h" | 
|   41 #endif |   41 #endif | 
|   42  |   42  | 
|   43 #if defined(OS_POSIX) && !defined(OS_OPENBSD) && !defined(OS_ANDROID) |   43 #if defined(OS_POSIX) && !defined(OS_OPENBSD) && !defined(OS_ANDROID) | 
|   44 using ::base::FilePathWatcher; |   44 using ::base::FilePathWatcher; | 
|   45 #endif |   45 #endif | 
|   46  |   46  | 
| (...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  830     return false; |  830     return false; | 
|  831  |  831  | 
|  832   GetPluginPropertyFromWindow( |  832   GetPluginPropertyFromWindow( | 
|  833           window, kPluginNameAtomProperty, plugin_name); |  833           window, kPluginNameAtomProperty, plugin_name); | 
|  834   GetPluginPropertyFromWindow( |  834   GetPluginPropertyFromWindow( | 
|  835           window, kPluginVersionAtomProperty, plugin_version); |  835           window, kPluginVersionAtomProperty, plugin_version); | 
|  836   return true; |  836   return true; | 
|  837 } |  837 } | 
|  838  |  838  | 
|  839 bool PluginServiceImpl::IsPluginWindow(HWND window) { |  839 bool PluginServiceImpl::IsPluginWindow(HWND window) { | 
|  840   return ui::GetClassName(window) == base::string16(kNativeWindowClassName); |  840   return gfx::GetClassName(window) == base::string16(kNativeWindowClassName); | 
|  841 } |  841 } | 
|  842 #endif |  842 #endif | 
|  843  |  843  | 
|  844 }  // namespace content |  844 }  // namespace content | 
| OLD | NEW |