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

Unified Diff: chrome/browser/guest_view/extension_options/extension_options_guest.cc

Issue 444813002: Remove BrowserPlugin's -internal-attach method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 6 years, 4 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: chrome/browser/guest_view/extension_options/extension_options_guest.cc
diff --git a/chrome/browser/guest_view/extension_options/extension_options_guest.cc b/chrome/browser/guest_view/extension_options/extension_options_guest.cc
index f7ca2908f72de01663b09ff9edfdecbc4ea2d6c1..d13bbc3efbfef3cc72bc8877c3ee87dbefcee416 100644
--- a/chrome/browser/guest_view/extension_options/extension_options_guest.cc
+++ b/chrome/browser/guest_view/extension_options/extension_options_guest.cc
@@ -157,20 +157,20 @@ bool ExtensionOptionsGuest::IsAutoSizeSupported() const {
void ExtensionOptionsGuest::SetUpAutoSize() {
// Read the autosize parameters passed in from the embedder.
bool auto_size_enabled = false;
- extra_params()->GetBoolean(extensionoptions::kAttributeAutoSize,
+ attach_params()->GetBoolean(extensionoptions::kAttributeAutoSize,
&auto_size_enabled);
int max_height = 0;
int max_width = 0;
- extra_params()->GetInteger(extensionoptions::kAttributeMaxHeight,
- &max_height);
- extra_params()->GetInteger(extensionoptions::kAttributeMaxWidth, &max_width);
+ attach_params()->GetInteger(extensionoptions::kAttributeMaxHeight,
+ &max_height);
+ attach_params()->GetInteger(extensionoptions::kAttributeMaxWidth, &max_width);
int min_height = 0;
int min_width = 0;
- extra_params()->GetInteger(extensionoptions::kAttributeMinHeight,
- &min_height);
- extra_params()->GetInteger(extensionoptions::kAttributeMinWidth, &min_width);
+ attach_params()->GetInteger(extensionoptions::kAttributeMinHeight,
+ &min_height);
+ attach_params()->GetInteger(extensionoptions::kAttributeMinWidth, &min_width);
// Call SetAutoSize to apply all the appropriate validation and clipping of
// values.

Powered by Google App Engine
This is Rietveld 408576698