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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 10412056: Browser Plugin: Remove MapInstance from BrowserPluginHost + More cross-process navigation work (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplified size logic Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 206a317db696e083fc9d1623a0983de59de7a63b..b6a5f7ca6ec9880060cd5e74eec672f000c6ad9e 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -69,13 +69,10 @@ class BrowserPlugin {
const std::string& html_data);
virtual ~BrowserPlugin();
- // Parses the width, height, and source URL of the browser plugin
- // from the element's attributes and outputs them. If not found, it outputs
- // the defaults specified here as parameters.
- void ParsePluginParameters(int default_width, int default_height,
- const std::string& default_src,
- gfx::Size* size,
- std::string* src);
+ // Parses the source URL of the browser plugin from the element's attributes
+ // and outputs them. If not found, it outputs the defaults specified here as
+ // parameters.
+ void ParseSrcAttribute(const std::string& default_src, std::string* src);
// Replace the current guest with a new guest.
void Replace(webkit::ppapi::WebPluginImpl* new_plugin);

Powered by Google App Engine
This is Rietveld 408576698