Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: content/plugin/plugin_interpose_util_mac.h

Issue 10826036: mac: Let Carbon plugin stuff buid with the 10.7 SDK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better ifdefs Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/plugin/plugin_carbon_interpose_mac.cc ('k') | webkit/glue/webcursor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 11
12 typedef struct Cursor Cursor;
13
12 // This is really a WebPluginDelegateImpl, but that class is private to the 14 // This is really a WebPluginDelegateImpl, but that class is private to the
13 // framework, and these functions are called from a dylib. 15 // framework, and these functions are called from a dylib.
14 typedef void* OpaquePluginRef; 16 typedef void* OpaquePluginRef;
15 17
16 namespace mac_plugin_interposing { 18 namespace mac_plugin_interposing {
17 19
18 // Swizzles methods we need to watch in order to manage process and window 20 // Swizzles methods we need to watch in order to manage process and window
19 // focus correctly. 21 // focus correctly.
20 void SetUpCocoaInterposing(); 22 void SetUpCocoaInterposing();
21 23
(...skipping 25 matching lines...) Expand all
47 // Sends a message to the plugin that a cursor was set. 49 // Sends a message to the plugin that a cursor was set.
48 void NotifyPluginOfSetCursor(OpaquePluginRef delegate, 50 void NotifyPluginOfSetCursor(OpaquePluginRef delegate,
49 const Cursor* cursor); 51 const Cursor* cursor);
50 52
51 // Returns true if the window containing the given plugin delegate is focused. 53 // Returns true if the window containing the given plugin delegate is focused.
52 bool GetPluginWindowHasFocus(const OpaquePluginRef delegate); 54 bool GetPluginWindowHasFocus(const OpaquePluginRef delegate);
53 55
54 } // namespace MacPluginInterpose 56 } // namespace MacPluginInterpose
55 57
56 #endif // CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_ 58 #endif // CONTENT_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_
OLDNEW
« no previous file with comments | « content/plugin/plugin_carbon_interpose_mac.cc ('k') | webkit/glue/webcursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698