| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ | 5 #ifndef CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ |
| 6 #define CHROME_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ | 6 #define CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <Carbon/Carbon.h> | 9 #include <Carbon/Carbon.h> |
| 10 | 10 |
| 11 #import "base/basictypes.h" | 11 #import "base/basictypes.h" |
| 12 | 12 |
| 13 // This is really a WebPluginDelegateImpl, but that class is private to the | 13 // This is really a WebPluginDelegateImpl, but that class is private to the |
| 14 // framework, and these functions are called from a dylib. | 14 // framework, and these functions are called from a dylib. |
| 15 typedef void* OpaquePluginRef; | 15 typedef void* OpaquePluginRef; |
| 16 | 16 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 47 | 47 |
| 48 // Sends a message to the plugin that a cursor was set. | 48 // Sends a message to the plugin that a cursor was set. |
| 49 void NotifyPluginOfSetCursor(OpaquePluginRef delegate, | 49 void NotifyPluginOfSetCursor(OpaquePluginRef delegate, |
| 50 const Cursor* cursor); | 50 const Cursor* cursor); |
| 51 | 51 |
| 52 // Returns true if the window containing the given plugin delegate is focused. | 52 // Returns true if the window containing the given plugin delegate is focused. |
| 53 bool GetPluginWindowHasFocus(const OpaquePluginRef delegate); | 53 bool GetPluginWindowHasFocus(const OpaquePluginRef delegate); |
| 54 | 54 |
| 55 } // namespace MacPluginInterpose | 55 } // namespace MacPluginInterpose |
| 56 | 56 |
| 57 #endif // CHROME_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ | 57 #endif // CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ |
| OLD | NEW |