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

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

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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
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/common/material_design/material_design_controller.h" 7 #include "ash/common/material_design/material_design_controller.h"
8 #include "ash/common/wm/window_state.h" 8 #include "ash/common/wm/window_state.h"
9 #include "ash/shared/immersive_revealed_lock.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 "base/memory/ptr_util.h"
13 #include "chrome/browser/chrome_notification_types.h" 14 #include "chrome/browser/chrome_notification_types.h"
14 #include "chrome/browser/ui/ash/ash_util.h" 15 #include "chrome/browser/ui/ash/ash_util.h"
15 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h" 16 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h"
16 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" 17 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h"
17 #include "chrome/browser/ui/views/frame/browser_view.h" 18 #include "chrome/browser/ui/views/frame/browser_view.h"
18 #include "chrome/browser/ui/views/frame/top_container_view.h" 19 #include "chrome/browser/ui/views/frame/top_container_view.h"
19 #include "chrome/browser/ui/views/tabs/tab_strip.h" 20 #include "chrome/browser/ui/views/tabs/tab_strip.h"
20 #include "content/public/browser/notification_service.h" 21 #include "content/public/browser/notification_service.h"
21 #include "content/public/browser/web_contents.h" 22 #include "content/public/browser/web_contents.h"
22 #include "services/ui/public/cpp/property_type_converters.h" 23 #include "services/ui/public/cpp/property_type_converters.h"
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // the shelf completely and prevent it from being revealed. 351 // the shelf completely and prevent it from being revealed.
351 bool in_tab_fullscreen = content::Source<FullscreenController>(source)-> 352 bool in_tab_fullscreen = content::Source<FullscreenController>(source)->
352 IsWindowFullscreenForTabOrPending(); 353 IsWindowFullscreenForTabOrPending();
353 ash::wm::GetWindowState(native_window_) 354 ash::wm::GetWindowState(native_window_)
354 ->set_hide_shelf_when_fullscreen(in_tab_fullscreen); 355 ->set_hide_shelf_when_fullscreen(in_tab_fullscreen);
355 ash::Shell::GetInstance()->UpdateShelfVisibility(); 356 ash::Shell::GetInstance()->UpdateShelfVisibility();
356 357
357 if (tab_indicator_visibility_changed) 358 if (tab_indicator_visibility_changed)
358 LayoutBrowserRootView(); 359 LayoutBrowserRootView();
359 } 360 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_mus.cc ('k') | chrome/browser/ui/views/ime_driver/ime_driver_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698