Commit 32b93848 authored by Robert Sesek's avatar Robert Sesek Committed by Chromium LUCI CQ

mac: Remove code to support OS X 10.10 in //extensions

Bug: 1153883
Change-Id: Ib3dede2c6cfad752cf044972419b1c64b6fc42db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2572176
Auto-Submit: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Ben Wells <benwells@chromium.org>
Reviewed-by: default avatarBen Wells <benwells@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833451}
parent 0bc9addf
...@@ -26,10 +26,6 @@ ...@@ -26,10 +26,6 @@
#include "ui/base/win/shell.h" #include "ui/base/win/shell.h"
#endif #endif
#if defined(OS_MAC)
#include "base/mac/mac_util.h"
#endif
namespace extensions { namespace extensions {
using AppWindowApiTest = PlatformAppBrowserTest; using AppWindowApiTest = PlatformAppBrowserTest;
...@@ -70,30 +66,18 @@ IN_PROC_BROWSER_TEST_F(ExperimentalAppWindowApiTest, SetIcon) { ...@@ -70,30 +66,18 @@ IN_PROC_BROWSER_TEST_F(ExperimentalAppWindowApiTest, SetIcon) {
#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) #endif // defined(OS_LINUX) || defined(OS_CHROMEOS)
IN_PROC_BROWSER_TEST_F(AppWindowApiTest, MAYBE_OnMinimizedEvent) { IN_PROC_BROWSER_TEST_F(AppWindowApiTest, MAYBE_OnMinimizedEvent) {
#if defined(OS_MAC)
if (base::mac::IsOS10_10())
return; // Fails when swarmed. http://crbug.com/660582,
#endif
EXPECT_TRUE(RunExtensionTestWithArg("platform_apps/windows_api_properties", EXPECT_TRUE(RunExtensionTestWithArg("platform_apps/windows_api_properties",
"minimized")) "minimized"))
<< message_; << message_;
} }
IN_PROC_BROWSER_TEST_F(AppWindowApiTest, MAYBE_OnMaximizedEvent) { IN_PROC_BROWSER_TEST_F(AppWindowApiTest, MAYBE_OnMaximizedEvent) {
#if defined(OS_MAC)
if (base::mac::IsOS10_10())
return; // Fails when swarmed. http://crbug.com/660582,
#endif
EXPECT_TRUE(RunExtensionTestWithArg("platform_apps/windows_api_properties", EXPECT_TRUE(RunExtensionTestWithArg("platform_apps/windows_api_properties",
"maximized")) "maximized"))
<< message_; << message_;
} }
IN_PROC_BROWSER_TEST_F(AppWindowApiTest, MAYBE_OnRestoredEvent) { IN_PROC_BROWSER_TEST_F(AppWindowApiTest, MAYBE_OnRestoredEvent) {
#if defined(OS_MAC)
if (base::mac::IsOS10_10())
return; // Fails when swarmed. http://crbug.com/660582,
#endif
EXPECT_TRUE(RunExtensionTestWithArg("platform_apps/windows_api_properties", EXPECT_TRUE(RunExtensionTestWithArg("platform_apps/windows_api_properties",
"restored")) "restored"))
<< message_; << message_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment