Commit 2243f85e authored by Avery Musbach's avatar Avery Musbach Committed by Commit Bot

Eliminate some includes that violate specific_include_rules in DEPS

Change-Id: Ie673d63862039d35a1c769db62c5d59562d4fde9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1850725
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704449}
parent 21f6a682
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
#include "ash/public/cpp/frame_header.h" #include "ash/public/cpp/frame_header.h"
#include "ash/public/cpp/immersive/immersive_fullscreen_controller_test_api.h" #include "ash/public/cpp/immersive/immersive_fullscreen_controller_test_api.h"
#include "ash/public/cpp/shelf_test_api.h" #include "ash/public/cpp/shelf_test_api.h"
#include "ash/public/cpp/split_view_test_api.h"
#include "ash/public/cpp/test/shell_test_api.h" #include "ash/public/cpp/test/shell_test_api.h"
#include "ash/public/cpp/window_pin_type.h" #include "ash/public/cpp/window_pin_type.h"
#include "ash/public/cpp/window_properties.h" #include "ash/public/cpp/window_properties.h"
#include "ash/public/mojom/constants.mojom.h" #include "ash/public/mojom/constants.mojom.h"
#include "ash/shell.h" // mash-ok #include "ash/shell.h" // mash-ok
#include "ash/wm/overview/overview_controller.h" // mash-ok #include "ash/wm/overview/overview_controller.h" // mash-ok
#include "ash/wm/splitview/split_view_controller.h" // mash-ok
#include "ash/wm/tablet_mode/tablet_mode_controller.h" // mash-ok #include "ash/wm/tablet_mode/tablet_mode_controller.h" // mash-ok
#include "base/bind_helpers.h" #include "base/bind_helpers.h"
#include "base/run_loop.h" #include "base/run_loop.h"
...@@ -1280,8 +1280,8 @@ IN_PROC_BROWSER_TEST_P(BrowserNonClientFrameViewAshTest, ...@@ -1280,8 +1280,8 @@ IN_PROC_BROWSER_TEST_P(BrowserNonClientFrameViewAshTest,
EXPECT_FALSE(frame_view->caption_button_container_->GetVisible()); EXPECT_FALSE(frame_view->caption_button_container_->GetVisible());
EndOverview(); EndOverview();
EXPECT_FALSE(frame_view->caption_button_container_->GetVisible()); EXPECT_FALSE(frame_view->caption_button_container_->GetVisible());
ash::Shell::Get()->split_view_controller()->SnapWindow( ash::SplitViewTestApi().SnapWindow(widget->GetNativeWindow(),
widget->GetNativeWindow(), ash::SplitViewController::LEFT); ash::SplitViewTestApi::SnapPosition::LEFT);
EXPECT_FALSE(frame_view->caption_button_container_->GetVisible()); EXPECT_FALSE(frame_view->caption_button_container_->GetVisible());
} }
...@@ -1316,8 +1316,8 @@ IN_PROC_BROWSER_TEST_P(BrowserNonClientFrameViewAshTest, ...@@ -1316,8 +1316,8 @@ IN_PROC_BROWSER_TEST_P(BrowserNonClientFrameViewAshTest,
EndOverview(); EndOverview();
EXPECT_TRUE(frame_view2->caption_button_container_->GetVisible()); EXPECT_TRUE(frame_view2->caption_button_container_->GetVisible());
ash::Shell::Get()->split_view_controller()->SnapWindow( ash::SplitViewTestApi().SnapWindow(
widget2->GetNativeWindow(), ash::SplitViewController::RIGHT); widget2->GetNativeWindow(), ash::SplitViewTestApi::SnapPosition::RIGHT);
EXPECT_TRUE(frame_view2->caption_button_container_->GetVisible()); EXPECT_TRUE(frame_view2->caption_button_container_->GetVisible());
} }
......
...@@ -81,10 +81,10 @@ ...@@ -81,10 +81,10 @@
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
#include "ash/public/cpp/ash_switches.h" #include "ash/public/cpp/ash_switches.h"
#include "ash/public/cpp/immersive/immersive_fullscreen_controller_test_api.h" #include "ash/public/cpp/immersive/immersive_fullscreen_controller_test_api.h"
#include "ash/public/cpp/split_view_test_api.h"
#include "ash/public/cpp/test/shell_test_api.h" #include "ash/public/cpp/test/shell_test_api.h"
#include "ash/public/cpp/window_properties.h" #include "ash/public/cpp/window_properties.h"
#include "ash/shell.h" #include "ash/shell.h"
#include "ash/wm/splitview/split_view_controller.h"
#include "ash/wm/window_state.h" #include "ash/wm/window_state.h"
#include "base/test/simple_test_tick_clock.h" #include "base/test/simple_test_tick_clock.h"
#include "chrome/browser/ui/views/frame/browser_view_layout.h" #include "chrome/browser/ui/views/frame/browser_view_layout.h"
...@@ -2268,8 +2268,8 @@ IN_PROC_BROWSER_TEST_P(DetachToBrowserTabDragControllerTest, ...@@ -2268,8 +2268,8 @@ IN_PROC_BROWSER_TEST_P(DetachToBrowserTabDragControllerTest,
// Right snap the browser window. // Right snap the browser window.
aura::Window* window = browser()->window()->GetNativeWindow(); aura::Window* window = browser()->window()->GetNativeWindow();
ash::Shell::Get()->split_view_controller()->SnapWindow( ash::SplitViewTestApi().SnapWindow(
window, ash::SplitViewController::RIGHT); window, ash::SplitViewTestApi::SnapPosition::RIGHT);
EXPECT_NE(gfx::Point(), window->GetBoundsInScreen().origin()); EXPECT_NE(gfx::Point(), window->GetBoundsInScreen().origin());
DragWindowAndVerifyOffset(this, GetTabStripForBrowser(browser()), 0); DragWindowAndVerifyOffset(this, GetTabStripForBrowser(browser()), 0);
......
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