diff options
Diffstat (limited to 'chrome/browser/plugin_carbon_interpose_mac.cc')
-rw-r--r-- | chrome/browser/plugin_carbon_interpose_mac.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/plugin_carbon_interpose_mac.cc b/chrome/browser/plugin_carbon_interpose_mac.cc index 2b60d66..55e1405 100644 --- a/chrome/browser/plugin_carbon_interpose_mac.cc +++ b/chrome/browser/plugin_carbon_interpose_mac.cc @@ -8,7 +8,7 @@ #include "chrome/plugin/plugin_interpose_util_mac.h" #include "gfx/rect.h" -#include "webkit/plugins/npapi/carbon_plugin_window_tracker_mac.h" +#include "webkit/glue/plugins/carbon_plugin_window_tracker_mac.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" @@ -61,16 +61,16 @@ static void OnPluginWindowSelected(WindowRef window) { static Boolean ChromePluginIsWindowActive(WindowRef window) { const OpaquePluginRef delegate = - webkit::npapi::CarbonPluginWindowTracker::SharedInstance()-> - GetDelegateForDummyWindow(window); + CarbonPluginWindowTracker::SharedInstance()->GetDelegateForDummyWindow( + window); return delegate ? IsContainingWindowActive(delegate) : IsWindowActive(window); } static Boolean ChromePluginIsWindowHilited(WindowRef window) { const OpaquePluginRef delegate = - webkit::npapi::CarbonPluginWindowTracker::SharedInstance()-> - GetDelegateForDummyWindow(window); + CarbonPluginWindowTracker::SharedInstance()->GetDelegateForDummyWindow( + window); return delegate ? IsContainingWindowActive(delegate) : IsWindowHilited(window); } @@ -126,8 +126,8 @@ static void ChromePluginDisposeDialog(DialogRef dialog) { static WindowPartCode ChromePluginFindWindow(Point point, WindowRef* window) { OpaquePluginRef delegate = mac_plugin_interposing::GetActiveDelegate(); - webkit::npapi::CarbonPluginWindowTracker* tracker = - webkit::npapi::CarbonPluginWindowTracker::SharedInstance(); + CarbonPluginWindowTracker* tracker = + CarbonPluginWindowTracker::SharedInstance(); WindowRef plugin_window = tracker->GetDummyWindowForDelegate(delegate); if (plugin_window) { // If plugin_window is non-NULL, then we are in the middle of routing an |