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

Side by Side Diff: webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 8790004: Rename the shared impl files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/string16.h" 17 #include "base/string16.h"
18 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
19 #include "ppapi/c/dev/pp_cursor_type_dev.h" 19 #include "ppapi/c/dev/pp_cursor_type_dev.h"
20 #include "ppapi/c/dev/ppp_printing_dev.h" 20 #include "ppapi/c/dev/ppp_printing_dev.h"
21 #include "ppapi/c/pp_completion_callback.h" 21 #include "ppapi/c/pp_completion_callback.h"
22 #include "ppapi/c/pp_instance.h" 22 #include "ppapi/c/pp_instance.h"
23 #include "ppapi/c/pp_resource.h" 23 #include "ppapi/c/pp_resource.h"
24 #include "ppapi/c/pp_var.h" 24 #include "ppapi/c/pp_var.h"
25 #include "ppapi/c/ppb_input_event.h" 25 #include "ppapi/c/ppb_input_event.h"
26 #include "ppapi/c/ppp_graphics_3d.h" 26 #include "ppapi/c/ppp_graphics_3d.h"
27 #include "ppapi/c/ppp_instance.h" 27 #include "ppapi/c/ppp_instance.h"
28 #include "ppapi/shared_impl/function_group_base.h" 28 #include "ppapi/shared_impl/function_group_base.h"
29 #include "ppapi/shared_impl/instance_impl.h" 29 #include "ppapi/shared_impl/ppb_instance_shared.h"
30 #include "ppapi/shared_impl/ppp_instance_combined.h" 30 #include "ppapi/shared_impl/ppp_instance_combined.h"
31 #include "ppapi/thunk/ppb_instance_api.h" 31 #include "ppapi/thunk/ppb_instance_api.h"
32 #include "third_party/skia/include/core/SkBitmap.h" 32 #include "third_party/skia/include/core/SkBitmap.h"
33 #include "third_party/skia/include/core/SkRefCnt.h" 33 #include "third_party/skia/include/core/SkRefCnt.h"
34 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" 34 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h"
35 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 35 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
36 #include "ui/base/ime/text_input_type.h" 36 #include "ui/base/ime/text_input_type.h"
37 #include "ui/gfx/rect.h" 37 #include "ui/gfx/rect.h"
38 #include "webkit/plugins/ppapi/plugin_delegate.h" 38 #include "webkit/plugins/ppapi/plugin_delegate.h"
39 #include "webkit/plugins/webkit_plugins_export.h" 39 #include "webkit/plugins/webkit_plugins_export.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 class PPB_URLRequestInfo_Impl; 79 class PPB_URLRequestInfo_Impl;
80 80
81 // Represents one time a plugin appears on one web page. 81 // Represents one time a plugin appears on one web page.
82 // 82 //
83 // Note: to get from a PP_Instance to a PluginInstance*, use the 83 // Note: to get from a PP_Instance to a PluginInstance*, use the
84 // ResourceTracker. 84 // ResourceTracker.
85 class WEBKIT_PLUGINS_EXPORT PluginInstance : 85 class WEBKIT_PLUGINS_EXPORT PluginInstance :
86 public base::RefCounted<PluginInstance>, 86 public base::RefCounted<PluginInstance>,
87 public ::ppapi::FunctionGroupBase, 87 public ::ppapi::FunctionGroupBase,
88 NON_EXPORTED_BASE(public ::ppapi::thunk::PPB_Instance_FunctionAPI), 88 NON_EXPORTED_BASE(public ::ppapi::thunk::PPB_Instance_FunctionAPI),
89 public ::ppapi::InstanceImpl { 89 public ::ppapi::PPB_Instance_Shared {
90 public: 90 public:
91 // Create and return a PluginInstance object which supports the 91 // Create and return a PluginInstance object which supports the
92 // PPP_Instance_1_0 interface. 92 // PPP_Instance_1_0 interface.
93 static PluginInstance* Create1_0(PluginDelegate* delegate, 93 static PluginInstance* Create1_0(PluginDelegate* delegate,
94 PluginModule* module, 94 PluginModule* module,
95 const void* ppp_instance_if_1_0); 95 const void* ppp_instance_if_1_0);
96 96
97 // Delete should be called by the WebPlugin before this destructor. 97 // Delete should be called by the WebPlugin before this destructor.
98 virtual ~PluginInstance(); 98 virtual ~PluginInstance();
99 99
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 608
609 PP_CompletionCallback lock_mouse_callback_; 609 PP_CompletionCallback lock_mouse_callback_;
610 610
611 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 611 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
612 }; 612 };
613 613
614 } // namespace ppapi 614 } // namespace ppapi
615 } // namespace webkit 615 } // namespace webkit
616 616
617 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 617 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698