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

Side by Side Diff: chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc

Issue 2826593002: Remove ash's MaterialDesignController. (Closed)
Patch Set: one more dead include Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « ash/wm/overview/window_selector_item.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/frame/immersive_mode_controller_ash.h" 5 #include "chrome/browser/ui/views/frame/immersive_mode_controller_ash.h"
6 6
7 #include "ash/material_design/material_design_controller.h"
8 #include "ash/shared/immersive_revealed_lock.h" 7 #include "ash/shared/immersive_revealed_lock.h"
9 #include "ash/shell.h" 8 #include "ash/shell.h"
10 #include "ash/wm/window_state.h" 9 #include "ash/wm/window_state.h"
11 #include "ash/wm/window_state_aura.h" 10 #include "ash/wm/window_state_aura.h"
12 #include "base/macros.h" 11 #include "base/macros.h"
13 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
14 #include "chrome/browser/chrome_notification_types.h" 13 #include "chrome/browser/chrome_notification_types.h"
15 #include "chrome/browser/ui/ash/ash_util.h" 14 #include "chrome/browser/ui/ash/ash_util.h"
16 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h" 15 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h"
17 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" 16 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h"
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 const void* key, 350 const void* key,
352 intptr_t old) { 351 intptr_t old) {
353 // In mash the window manager may move us out of immersive mode by changing 352 // In mash the window manager may move us out of immersive mode by changing
354 // the show state. When this happens notify the controller. 353 // the show state. When this happens notify the controller.
355 DCHECK(ash_util::IsRunningInMash()); 354 DCHECK(ash_util::IsRunningInMash());
356 if (key == aura::client::kShowStateKey && 355 if (key == aura::client::kShowStateKey &&
357 !browser_view_->GetWidget()->IsFullscreen()) { 356 !browser_view_->GetWidget()->IsFullscreen()) {
358 SetEnabled(false); 357 SetEnabled(false);
359 } 358 }
360 } 359 }
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector_item.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698