summaryrefslogtreecommitdiffstats
path: root/apps/app_window.h
diff options
context:
space:
mode:
authortmdiep@chromium.org <tmdiep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 06:16:00 +0000
committertmdiep@chromium.org <tmdiep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 06:16:00 +0000
commit9123f55abcba591f96e2cdb4d2e2074b5b87179c (patch)
tree53bff1ae75d8c567a49e218b51529ef60d36f36a /apps/app_window.h
parentd421f6208bb997a429247d2d264182b1f24f8522 (diff)
downloadchromium_src-9123f55abcba591f96e2cdb4d2e2074b5b87179c.zip
chromium_src-9123f55abcba591f96e2cdb4d2e2074b5b87179c.tar.gz
chromium_src-9123f55abcba591f96e2cdb4d2e2074b5b87179c.tar.bz2
Implement setters for app window bounds API
App window inner and outer bounds can now be changed after window creation. The functions for get/set constraints were still in Dev and have been removed. BUG=315471 TEST=browser_tests (AppWindowAPITest.*) Review URL: https://codereview.chromium.org/192373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257030 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/app_window.h')
-rw-r--r--apps/app_window.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/app_window.h b/apps/app_window.h
index 9729484..cb9bf17 100644
--- a/apps/app_window.h
+++ b/apps/app_window.h
@@ -319,8 +319,8 @@ class AppWindow : public content::NotificationObserver,
void ForcedFullscreen();
// Set the minimum and maximum size of the content bounds.
- void SetContentMinimumSize(const gfx::Size& min_size);
- void SetContentMaximumSize(const gfx::Size& max_size);
+ void SetContentSizeConstraints(const gfx::Size& min_size,
+ const gfx::Size& max_size);
enum ShowType { SHOW_ACTIVE, SHOW_INACTIVE };
@@ -439,9 +439,6 @@ class AppWindow : public content::NotificationObserver,
// Load the app's image, firing a load state change when loaded.
void UpdateExtensionAppIcon();
- // Called when size_constraints is changed.
- void OnSizeConstraintsChanged();
-
// Set the fullscreen state in the native app window.
void SetNativeWindowFullscreen();