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

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

Issue 14371021: Implementation of URLLoader using PluginResource/ResourceHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add DocumentLoader class to record document load events. Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEBPLUGIN_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 friend class base::DeleteHelper<WebPluginImpl>; 89 friend class base::DeleteHelper<WebPluginImpl>;
90 90
91 WEBKIT_PLUGINS_EXPORT virtual ~WebPluginImpl(); 91 WEBKIT_PLUGINS_EXPORT virtual ~WebPluginImpl();
92 struct InitData; 92 struct InitData;
93 93
94 scoped_ptr<InitData> init_data_; // Cleared upon successful initialization. 94 scoped_ptr<InitData> init_data_; // Cleared upon successful initialization.
95 // True if the instance represents the entire document in a frame instead of 95 // True if the instance represents the entire document in a frame instead of
96 // being an embedded resource. 96 // being an embedded resource.
97 bool full_frame_; 97 bool full_frame_;
98 scoped_refptr<PluginInstance> instance_; 98 scoped_refptr<PluginInstance> instance_;
99 scoped_refptr<PPB_URLLoader_Impl> document_loader_;
100 gfx::Rect plugin_rect_; 99 gfx::Rect plugin_rect_;
101 PP_Var instance_object_; 100 PP_Var instance_object_;
102 WebKit::WebPluginContainer* container_; 101 WebKit::WebPluginContainer* container_;
103 102
104 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 103 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
105 }; 104 };
106 105
107 } // namespace ppapi 106 } // namespace ppapi
108 } // namespace webkit 107 } // namespace webkit
109 108
110 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ 109 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698