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

Unified Diff: ash/common/frame/custom_frame_view_ash.cc

Issue 2265563002: Shuffles around immersive related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@immersive_pure_virtual
Patch Set: move comment Created 4 years, 4 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/common/frame/custom_frame_view_ash.h ('k') | ash/common/frame/header_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/frame/custom_frame_view_ash.cc
diff --git a/ash/common/frame/custom_frame_view_ash.cc b/ash/common/frame/custom_frame_view_ash.cc
index f186b0f2883bbd18a9a3b47ff0c48e43f3cc0b5d..806dbfce8d699c7136a5fafb49706fdd3e4342c3 100644
--- a/ash/common/frame/custom_frame_view_ash.cc
+++ b/ash/common/frame/custom_frame_view_ash.cc
@@ -11,8 +11,6 @@
#include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h"
#include "ash/common/frame/frame_border_hit_test.h"
#include "ash/common/frame/header_view.h"
-#include "ash/common/wm/immersive/wm_immersive_fullscreen_controller.h"
-#include "ash/common/wm/immersive/wm_immersive_fullscreen_controller_delegate.h"
#include "ash/common/wm/window_state.h"
#include "ash/common/wm/window_state_delegate.h"
#include "ash/common/wm/window_state_observer.h"
@@ -21,6 +19,8 @@
#include "ash/common/wm_window.h"
#include "ash/common/wm_window_observer.h"
#include "ash/common/wm_window_property.h"
+#include "ash/shared/immersive_fullscreen_controller.h"
+#include "ash/shared/immersive_fullscreen_controller_delegate.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/geometry/size.h"
@@ -79,7 +79,7 @@ class CustomFrameViewAshWindowStateDelegate : public wm::WindowStateDelegate,
window_state->Restore();
if (immersive_fullscreen_controller_) {
immersive_fullscreen_controller_->SetEnabled(
- WmImmersiveFullscreenController::WINDOW_TYPE_OTHER, enter_fullscreen);
+ ImmersiveFullscreenController::WINDOW_TYPE_OTHER, enter_fullscreen);
}
return true;
}
@@ -96,12 +96,12 @@ class CustomFrameViewAshWindowStateDelegate : public wm::WindowStateDelegate,
immersive_fullscreen_controller_ &&
immersive_fullscreen_controller_->IsEnabled()) {
immersive_fullscreen_controller_->SetEnabled(
- WmImmersiveFullscreenController::WINDOW_TYPE_OTHER, false);
+ ImmersiveFullscreenController::WINDOW_TYPE_OTHER, false);
}
}
wm::WindowState* window_state_;
- std::unique_ptr<WmImmersiveFullscreenController>
+ std::unique_ptr<ImmersiveFullscreenController>
immersive_fullscreen_controller_;
DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAshWindowStateDelegate);
@@ -199,7 +199,7 @@ CustomFrameViewAsh::CustomFrameViewAsh(views::Widget* frame)
CustomFrameViewAsh::~CustomFrameViewAsh() {}
void CustomFrameViewAsh::InitImmersiveFullscreenControllerForView(
- WmImmersiveFullscreenController* immersive_fullscreen_controller) {
+ ImmersiveFullscreenController* immersive_fullscreen_controller) {
immersive_fullscreen_controller->Init(header_view_, frame_, header_view_);
}
« no previous file with comments | « ash/common/frame/custom_frame_view_ash.h ('k') | ash/common/frame/header_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698