| 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 #ifndef CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ | 5 #ifndef CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ |
| 6 #define CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ | 6 #define CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ |
| 7 | 7 |
| 8 #include <Carbon/Carbon.h> | 8 #include <Carbon/Carbon.h> |
| 9 | 9 |
| 10 #import "base/basictypes.h" | 10 #import "base/basictypes.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 void NotifyBrowserOfPluginHideWindow(uint32 window_id, CGRect bounds); | 43 void NotifyBrowserOfPluginHideWindow(uint32 window_id, CGRect bounds); |
| 44 | 44 |
| 45 // Sends a message to the plugin that a theme cursor was set. | 45 // Sends a message to the plugin that a theme cursor was set. |
| 46 void NotifyPluginOfSetThemeCursor(OpaquePluginRef delegate, | 46 void NotifyPluginOfSetThemeCursor(OpaquePluginRef delegate, |
| 47 ThemeCursor cursor); | 47 ThemeCursor cursor); |
| 48 | 48 |
| 49 // Sends a message to the plugin that a cursor was set. | 49 // Sends a message to the plugin that a cursor was set. |
| 50 void NotifyPluginOfSetCursor(OpaquePluginRef delegate, | 50 void NotifyPluginOfSetCursor(OpaquePluginRef delegate, |
| 51 const Cursor* cursor); | 51 const Cursor* cursor); |
| 52 | 52 |
| 53 // Returns true if the window containing the given plugin delegate is focused. | |
| 54 bool GetPluginWindowHasFocus(const OpaquePluginRef delegate); | |
| 55 | |
| 56 } // namespace MacPluginInterpose | 53 } // namespace MacPluginInterpose |
| 57 | 54 |
| 58 #endif // CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ | 55 #endif // CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ |
| OLD | NEW |