summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/api/app_window/app_window_apitest.cc12
-rw-r--r--chrome/browser/extensions/platform_app_browsertest.cc4
2 files changed, 14 insertions, 2 deletions
diff --git a/chrome/browser/extensions/api/app_window/app_window_apitest.cc b/chrome/browser/extensions/api/app_window/app_window_apitest.cc
index 09d42b4..5307888 100644
--- a/chrome/browser/extensions/api/app_window/app_window_apitest.cc
+++ b/chrome/browser/extensions/api/app_window/app_window_apitest.cc
@@ -37,4 +37,16 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, WindowsApiBounds) {
ASSERT_TRUE(success_listener.WaitUntilSatisfied());
}
+// TODO(asargent) - Fix onMinimzed event on OSX (crbug.com/162793) and figure
+// out what to do about the fact that minimize events don't work under ubuntu
+// unity (crbug.com/162794 and https://bugs.launchpad.net/unity/+bug/998073).
+#if defined(TOOLKIT_VIEWS)
+
+IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, WindowsApiProperties) {
+ EXPECT_TRUE(
+ RunExtensionTest("platform_apps/windows_api_properties")) << message_;
+}
+
+#endif // defined(TOOLKIT_VIEWS)
+
} // namespace extensions
diff --git a/chrome/browser/extensions/platform_app_browsertest.cc b/chrome/browser/extensions/platform_app_browsertest.cc
index 46b176f..3736e0a 100644
--- a/chrome/browser/extensions/platform_app_browsertest.cc
+++ b/chrome/browser/extensions/platform_app_browsertest.cc
@@ -655,9 +655,9 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
}
// In the GTK ShellWindow implementation there also is a delay between
- // getting the correct bounds and it calling SaveWindowPosition, so call that
+ // getting the correct bounds and it calling SaveWindowPosition, so call a
// method explicitly to make sure the value was stored.
- window->SaveWindowPosition();
+ window->OnNativeWindowChanged();
#endif // defined(TOOLKIT_GTK)
// Make sure the window was properly moved&resized.