Index: chrome/common/extensions/extension.h |
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h |
index 749cee9652ead2a1d3f716e3b2c9818fe523c97d..764abeea002fff754dd941154a33b28357ad76e2 100644 |
--- a/chrome/common/extensions/extension.h |
+++ b/chrome/common/extensions/extension.h |
@@ -665,22 +665,8 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
extension_misc::LaunchContainer launch_container() const { |
return launch_container_; |
} |
- int launch_width() const { |
- return std::max(launch_min_width_, |
- launch_max_width_ ? |
- std::min(launch_max_width_, launch_width_) : |
- launch_width_); |
- } |
- int launch_height() const { |
- return std::max(launch_min_height_, |
- launch_max_height_ ? |
- std::min(launch_max_height_, launch_height_) : |
- launch_height_); |
- } |
- int launch_min_width() const { return launch_min_width_; } |
- int launch_min_height() const { return launch_min_height_; } |
- int launch_max_width() const { return launch_max_width_; } |
- int launch_max_height() const { return launch_max_height_; } |
+ int launch_width() const { return launch_width_; } |
+ int launch_height() const { return launch_height_; } |
// Theme-related. |
bool is_theme() const; |
@@ -1047,13 +1033,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
int launch_width_; |
int launch_height_; |
- // The minimum and maximum size of the container. Only respected for the |
- // shell container. |
- int launch_min_width_; |
- int launch_min_height_; |
- int launch_max_width_; |
- int launch_max_height_; |
- |
// The Omnibox keyword for this extension, or empty if there is none. |
std::string omnibox_keyword_; |