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

Side by Side Diff: chrome/renderer/pepper_plugin_delegate_impl.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
« no previous file with comments | « no previous file | chrome/renderer/pepper_plugin_delegate_impl.cc » ('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) 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 CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 15 matching lines...) Expand all
26 26
27 // Called by RenderView to tell us about painting events, these two functions 27 // Called by RenderView to tell us about painting events, these two functions
28 // just correspond to the DidInitiatePaint and DidFlushPaint in R.V.. 28 // just correspond to the DidInitiatePaint and DidFlushPaint in R.V..
29 void ViewInitiatedPaint(); 29 void ViewInitiatedPaint();
30 void ViewFlushedPaint(); 30 void ViewFlushedPaint();
31 31
32 // pepper::PluginDelegate implementation. 32 // pepper::PluginDelegate implementation.
33 virtual void InstanceCreated(pepper::PluginInstance* instance); 33 virtual void InstanceCreated(pepper::PluginInstance* instance);
34 virtual void InstanceDeleted(pepper::PluginInstance* instance); 34 virtual void InstanceDeleted(pepper::PluginInstance* instance);
35 virtual PlatformImage2D* CreateImage2D(int width, int height); 35 virtual PlatformImage2D* CreateImage2D(int width, int height);
36 virtual void DidChangeNumberOfFindResults(int identifier,
37 int total,
38 bool final_result);
39 virtual void DidChangeSelectedFindResult(int identifier, int index);
36 40
37 private: 41 private:
38 // Pointer to the RenderView that owns us. 42 // Pointer to the RenderView that owns us.
39 RenderView* render_view_; 43 RenderView* render_view_;
40 44
41 std::set<pepper::PluginInstance*> active_instances_; 45 std::set<pepper::PluginInstance*> active_instances_;
42 46
43 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 47 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
44 }; 48 };
45 49
46 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 50 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698