Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Unified Diff: ash/shell.cc

Issue 2075923002: mash: Convert FocusCycler to wm common types and move to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell.h ('k') | ash/system/status_area_widget_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 9d15218621caed7de0e2b2a5fbb747e93603d93b..f01d2298192c2c9ddd66c406df383bfa5b319592 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -39,7 +39,6 @@
#include "ash/display/window_tree_host_manager.h"
#include "ash/drag_drop/drag_drop_controller.h"
#include "ash/first_run/first_run_helper_impl.h"
-#include "ash/focus_cycler.h"
#include "ash/frame/custom_frame_view_ash.h"
#include "ash/gpu_support.h"
#include "ash/high_contrast/high_contrast_controller.h"
@@ -367,11 +366,6 @@ views::NonClientFrameView* Shell::CreateDefaultNonClientFrameView(
return new CustomFrameViewAsh(widget);
}
-void Shell::RotateFocus(Direction direction) {
- focus_cycler_->RotateFocus(direction == FORWARD ? FocusCycler::FORWARD
- : FocusCycler::BACKWARD);
-}
-
void Shell::SetDisplayWorkAreaInsets(Window* contains,
const gfx::Insets& insets) {
if (!window_tree_host_manager_->UpdateWorkAreaOfDisplayNearestWindow(
@@ -955,7 +949,6 @@ void Shell::Init(const ShellInitParams& init_params) {
focus_client_.reset(focus_controller);
activation_client_ = focus_controller;
activation_client_->AddObserver(this);
- focus_cycler_.reset(new FocusCycler());
screen_position_controller_.reset(new ScreenPositionController);
« no previous file with comments | « ash/shell.h ('k') | ash/system/status_area_widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698