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

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

Issue 59043013: Add flag to enable immersive fullscreen for v2 apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_
7 7
8 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" 8 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h"
9 9
10 #include "ash/wm/immersive_fullscreen_controller.h" 10 #include "ash/wm/immersive_fullscreen_controller.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void SetRenderWindowTopInsetsForTouch(int top_inset); 58 void SetRenderWindowTopInsetsForTouch(int top_inset);
59 59
60 // Sets whether the tab strip is painted in a short "light bar" style. 60 // Sets whether the tab strip is painted in a short "light bar" style.
61 void SetTabIndicatorsVisible(bool visible); 61 void SetTabIndicatorsVisible(bool visible);
62 62
63 // ImmersiveFullscreenController::Delegate overrides: 63 // ImmersiveFullscreenController::Delegate overrides:
64 virtual void OnImmersiveRevealStarted() OVERRIDE; 64 virtual void OnImmersiveRevealStarted() OVERRIDE;
65 virtual void OnImmersiveRevealEnded() OVERRIDE; 65 virtual void OnImmersiveRevealEnded() OVERRIDE;
66 virtual void OnImmersiveFullscreenExited() OVERRIDE; 66 virtual void OnImmersiveFullscreenExited() OVERRIDE;
67 virtual void SetVisibleFraction(double visible_fraction) OVERRIDE; 67 virtual void SetVisibleFraction(double visible_fraction) OVERRIDE;
68 virtual std::vector<gfx::Rect> GetVisibleBoundsInScreen() OVERRIDE; 68 virtual std::vector<gfx::Rect> GetVisibleBoundsInScreen() const OVERRIDE;
69 69
70 // ash::wm::WindowStateObserver override: 70 // ash::wm::WindowStateObserver override:
71 virtual void OnWindowShowTypeChanged( 71 virtual void OnWindowShowTypeChanged(
72 ash::wm::WindowState* window_state, 72 ash::wm::WindowState* window_state,
73 ash::wm::WindowShowType old_type) OVERRIDE; 73 ash::wm::WindowShowType old_type) OVERRIDE;
74 74
75 // content::NotificationObserver override: 75 // content::NotificationObserver override:
76 virtual void Observe(int type, 76 virtual void Observe(int type,
77 const content::NotificationSource& source, 77 const content::NotificationSource& source,
78 const content::NotificationDetails& details) OVERRIDE; 78 const content::NotificationDetails& details) OVERRIDE;
(...skipping 21 matching lines...) Expand all
100 // the top-of-window views are not revealed regardless of 100 // the top-of-window views are not revealed regardless of
101 // |use_tab_indicators_|. 101 // |use_tab_indicators_|.
102 double visible_fraction_; 102 double visible_fraction_;
103 103
104 content::NotificationRegistrar registrar_; 104 content::NotificationRegistrar registrar_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh); 106 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh);
107 }; 107 };
108 108
109 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ 109 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698