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

Unified Diff: chrome/plugin/plugin_interpose_util_mac.h

Issue 6672048: Move plugin code to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/plugin/plugin_channel_base.cc ('k') | chrome/plugin/plugin_interpose_util_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/plugin_interpose_util_mac.h
===================================================================
--- chrome/plugin/plugin_interpose_util_mac.h (revision 78372)
+++ chrome/plugin/plugin_interpose_util_mac.h (working copy)
@@ -1,57 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_
-#define CHROME_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_
-#pragma once
-
-#include <Carbon/Carbon.h>
-
-#import "base/basictypes.h"
-
-// This is really a WebPluginDelegateImpl, but that class is private to the
-// framework, and these functions are called from a dylib.
-typedef void* OpaquePluginRef;
-
-namespace mac_plugin_interposing {
-
-// Swizzles methods we need to watch in order to manage process and window
-// focus correctly.
-void SetUpCocoaInterposing();
-
-// Brings the plugin process to the front so that the user can see its windows.
-void SwitchToPluginProcess();
-
-// Returns the delegate currently processing events.
-OpaquePluginRef GetActiveDelegate();
-
-// Sends a message to the browser process to inform it that the given window
-// has been brought forward.
-void NotifyBrowserOfPluginSelectWindow(uint32 window_id, CGRect bounds,
- bool modal);
-
-// Sends a message to the browser process to inform it that the given window
-// has been shown.
-void NotifyBrowserOfPluginShowWindow(uint32 window_id, CGRect bounds,
- bool modal);
-
-// Sends a message to the browser process to inform it that the given window
-// has been hidden, and switches focus back to the browser process if there are
-// no remaining plugin windows.
-void NotifyBrowserOfPluginHideWindow(uint32 window_id, CGRect bounds);
-
-// Sends a message to the plugin that a theme cursor was set.
-void NotifyPluginOfSetThemeCursor(OpaquePluginRef delegate,
- ThemeCursor cursor);
-
-// Sends a message to the plugin that a cursor was set.
-void NotifyPluginOfSetCursor(OpaquePluginRef delegate,
- const Cursor* cursor);
-
-// Returns true if the window containing the given plugin delegate is focused.
-bool GetPluginWindowHasFocus(const OpaquePluginRef delegate);
-
-} // namespace MacPluginInterpose
-
-#endif // CHROME_PLUGIN_PLUGIN_INTERPOSE_UTIL_MAC_H_
« no previous file with comments | « chrome/plugin/plugin_channel_base.cc ('k') | chrome/plugin/plugin_interpose_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698