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

Unified Diff: gpu/np_utils/np_plugin_object.h

Issue 481007: Deleted np_utils library. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years 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 | « gpu/np_utils/np_object_pointer_unittest.cc ('k') | gpu/np_utils/np_plugin_object_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/np_utils/np_plugin_object.h
===================================================================
--- gpu/np_utils/np_plugin_object.h (revision 34090)
+++ gpu/np_utils/np_plugin_object.h (working copy)
@@ -1,50 +0,0 @@
-// Copyright (c) 2006-2008 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 GPU_NP_UTILS_NP_PLUGIN_OBJECT_H_
-#define GPU_NP_UTILS_NP_PLUGIN_OBJECT_H_
-
-#include "gpu/np_utils/np_object_pointer.h"
-#include "gpu/np_utils/np_headers.h"
-
-namespace np_utils {
-
-// Interface for a plugin instance. The NPP plugin calls forwards to an instance
-// of this interface.
-class PluginObject {
- public:
- // Initialize this object.
- virtual NPError New(NPMIMEType plugin_type,
- int16 argc,
- char* argn[],
- char* argv[],
- NPSavedData* saved) = 0;
-
- virtual NPError SetWindow(NPWindow* new_window) = 0;
-
- virtual int16 HandleEvent(NPEvent* event) = 0;
-
- // Uninitialize but do not deallocate the object. Release will be called to
- // deallocate if Destroy succeeds.
- virtual NPError Destroy(NPSavedData** saved) = 0;
-
- // Deallocate this object. This object is invalid after this returns.
- virtual void Release() = 0;
-
- virtual NPObject* GetScriptableNPObject() = 0;
-
- protected:
- PluginObject() {
- }
-
- virtual ~PluginObject() {
- }
-
- private:
- DISALLOW_COPY_AND_ASSIGN(PluginObject);
-};
-
-} // namespace np_utils
-
-#endif // GPU_NP_UTILS_NP_PLUGIN_OBJECT_H_
« no previous file with comments | « gpu/np_utils/np_object_pointer_unittest.cc ('k') | gpu/np_utils/np_plugin_object_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698