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

Side by Side Diff: webkit/glue/plugins/pepper_plugin_delegate.h

Issue 2827047: Make RenderView call the plugin through WebKit::WebPlugin (instead of casting... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: compile until webkit is rolled Created 10 years, 5 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_
7 7
8 #include "third_party/ppapi/c/pp_stdint.h" 8 #include "third_party/ppapi/c/pp_stdint.h"
9 9
10 namespace skia { 10 namespace skia {
(...skipping 26 matching lines...) Expand all
37 // Indicates that the given instance has been created. 37 // Indicates that the given instance has been created.
38 virtual void InstanceCreated(pepper::PluginInstance* instance) = 0; 38 virtual void InstanceCreated(pepper::PluginInstance* instance) = 0;
39 39
40 // Indicates that the given instance is being destroyed. This is called from 40 // Indicates that the given instance is being destroyed. This is called from
41 // the destructor, so it's important that the instance is not dereferenced 41 // the destructor, so it's important that the instance is not dereferenced
42 // from this call. 42 // from this call.
43 virtual void InstanceDeleted(pepper::PluginInstance* instance) = 0; 43 virtual void InstanceDeleted(pepper::PluginInstance* instance) = 0;
44 44
45 // The caller will own the pointer returned from this. 45 // The caller will own the pointer returned from this.
46 virtual PlatformImage2D* CreateImage2D(int width, int height) = 0; 46 virtual PlatformImage2D* CreateImage2D(int width, int height) = 0;
47
48 // Notifies that the number of find results has changed.
49 virtual void DidChangeNumberOfFindResults(int identifier,
50 int total,
51 bool final_result) = 0;
52
53 // Notifies that the index of the currently selected item has been updated.
54 virtual void DidChangeSelectedFindResult(int identifier, int index) = 0;
47 }; 55 };
48 56
49 } // namespace pepper 57 } // namespace pepper
50 58
51 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_ 59 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « third_party/npapi/bindings/npapi_extensions.h ('k') | webkit/glue/plugins/pepper_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698