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

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

Issue 10928072: Remove all support for the Carbon NPAPI event model (Closed) Base URL: http://git.chromium.org/chromium/src.git@test-plugin-cocoa
Patch Set: Rebase Created 8 years, 3 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
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"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « content/plugin/plugin_carbon_interpose_mac.cc ('k') | content/plugin/plugin_interpose_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698