OLD | NEW |
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/common/material_design/material_design_controller.h" | 7 #include "ash/common/material_design/material_design_controller.h" |
8 #include "ash/common/wm/immersive_revealed_lock.h" | |
9 #include "ash/common/wm/window_state.h" | 8 #include "ash/common/wm/window_state.h" |
| 9 #include "ash/shared/immersive_revealed_lock.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/wm/window_state_aura.h" | 11 #include "ash/wm/window_state_aura.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "chrome/browser/chrome_notification_types.h" | 13 #include "chrome/browser/chrome_notification_types.h" |
14 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h" | 14 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h" |
15 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" | 15 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" |
16 #include "chrome/browser/ui/views/frame/browser_view.h" | 16 #include "chrome/browser/ui/views/frame/browser_view.h" |
17 #include "chrome/browser/ui/views/frame/top_container_view.h" | 17 #include "chrome/browser/ui/views/frame/top_container_view.h" |
18 #include "chrome/browser/ui/views/tabs/tab_strip.h" | 18 #include "chrome/browser/ui/views/tabs/tab_strip.h" |
19 #include "content/public/browser/notification_service.h" | 19 #include "content/public/browser/notification_service.h" |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 IsWindowFullscreenForTabOrPending(); | 264 IsWindowFullscreenForTabOrPending(); |
265 ash::wm::GetWindowState(native_window_) | 265 ash::wm::GetWindowState(native_window_) |
266 ->set_shelf_mode_in_fullscreen( | 266 ->set_shelf_mode_in_fullscreen( |
267 in_tab_fullscreen ? ash::wm::WindowState::SHELF_HIDDEN | 267 in_tab_fullscreen ? ash::wm::WindowState::SHELF_HIDDEN |
268 : ash::wm::WindowState::SHELF_AUTO_HIDE_VISIBLE); | 268 : ash::wm::WindowState::SHELF_AUTO_HIDE_VISIBLE); |
269 ash::Shell::GetInstance()->UpdateShelfVisibility(); | 269 ash::Shell::GetInstance()->UpdateShelfVisibility(); |
270 | 270 |
271 if (tab_indicator_visibility_changed) | 271 if (tab_indicator_visibility_changed) |
272 LayoutBrowserRootView(); | 272 LayoutBrowserRootView(); |
273 } | 273 } |
OLD | NEW |