| 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 #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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 bool UpdateTabIndicators(); | 55 bool UpdateTabIndicators(); |
| 56 | 56 |
| 57 // ImmersiveFullscreenController::Delegate overrides: | 57 // ImmersiveFullscreenController::Delegate overrides: |
| 58 virtual void OnImmersiveRevealStarted() OVERRIDE; | 58 virtual void OnImmersiveRevealStarted() OVERRIDE; |
| 59 virtual void OnImmersiveRevealEnded() OVERRIDE; | 59 virtual void OnImmersiveRevealEnded() OVERRIDE; |
| 60 virtual void OnImmersiveFullscreenExited() OVERRIDE; | 60 virtual void OnImmersiveFullscreenExited() OVERRIDE; |
| 61 virtual void SetVisibleFraction(double visible_fraction) OVERRIDE; | 61 virtual void SetVisibleFraction(double visible_fraction) OVERRIDE; |
| 62 virtual std::vector<gfx::Rect> GetVisibleBoundsInScreen() const OVERRIDE; | 62 virtual std::vector<gfx::Rect> GetVisibleBoundsInScreen() const OVERRIDE; |
| 63 | 63 |
| 64 // ash::wm::WindowStateObserver override: | 64 // ash::wm::WindowStateObserver override: |
| 65 virtual void OnWindowShowTypeChanged( | 65 virtual void OnPostWindowShowTypeChange( |
| 66 ash::wm::WindowState* window_state, | 66 ash::wm::WindowState* window_state, |
| 67 ash::wm::WindowShowType old_type) OVERRIDE; | 67 ash::wm::WindowShowType old_type) OVERRIDE; |
| 68 | 68 |
| 69 // content::NotificationObserver override: | 69 // content::NotificationObserver override: |
| 70 virtual void Observe(int type, | 70 virtual void Observe(int type, |
| 71 const content::NotificationSource& source, | 71 const content::NotificationSource& source, |
| 72 const content::NotificationDetails& details) OVERRIDE; | 72 const content::NotificationDetails& details) OVERRIDE; |
| 73 | 73 |
| 74 scoped_ptr<ash::ImmersiveFullscreenController> controller_; | 74 scoped_ptr<ash::ImmersiveFullscreenController> controller_; |
| 75 | 75 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 94 // the top-of-window views are not revealed regardless of | 94 // the top-of-window views are not revealed regardless of |
| 95 // |use_tab_indicators_|. | 95 // |use_tab_indicators_|. |
| 96 double visible_fraction_; | 96 double visible_fraction_; |
| 97 | 97 |
| 98 content::NotificationRegistrar registrar_; | 98 content::NotificationRegistrar registrar_; |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh); | 100 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ | 103 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ |
| OLD | NEW |