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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 23530029: Support webview tag when the container extension is embedded in a webUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary lines from document_custom_bindings Created 7 years, 3 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
7 7
8 #include "third_party/WebKit/public/web/WebPlugin.h" 8 #include "third_party/WebKit/public/web/WebPlugin.h"
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // avoid accessing the RenderViewImpl. 347 // avoid accessing the RenderViewImpl.
348 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; 348 scoped_refptr<BrowserPluginManager> browser_plugin_manager_;
349 349
350 // Used for HW compositing. 350 // Used for HW compositing.
351 bool compositing_enabled_; 351 bool compositing_enabled_;
352 scoped_refptr<BrowserPluginCompositingHelper> compositing_helper_; 352 scoped_refptr<BrowserPluginCompositingHelper> compositing_helper_;
353 353
354 // Used to identify the plugin to WebBindings. 354 // Used to identify the plugin to WebBindings.
355 scoped_ptr<struct _NPP> npp_; 355 scoped_ptr<struct _NPP> npp_;
356 356
357 // URL for the embedder frame.
358 GURL embedder_frame_url_;
359
357 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might 360 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might
358 // get called after BrowserPlugin has been destroyed. 361 // get called after BrowserPlugin has been destroyed.
359 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; 362 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_;
360 363
361 std::vector<EditCommand> edit_commands_; 364 std::vector<EditCommand> edit_commands_;
362 365
363 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 366 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
364 }; 367 };
365 368
366 } // namespace content 369 } // namespace content
367 370
368 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 371 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698