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

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

Issue 2656983005: Fix the TabScrubber always starting from the first tab in full screen mode. (Closed)
Patch Set: sky's comments Created 3 years, 10 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 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 enum class Type { 43 enum class Type {
44 ASH, 44 ASH,
45 STUB, 45 STUB,
46 }; 46 };
47 47
48 class Observer { 48 class Observer {
49 public: 49 public:
50 // Called when a reveal of the top-of-window views has been initiated. 50 // Called when a reveal of the top-of-window views has been initiated.
51 virtual void OnImmersiveRevealStarted() {} 51 virtual void OnImmersiveRevealStarted() {}
52 52
53 // Called when a reveal of the top-of-window views has finished.
54 virtual void OnImmersiveRevealEnded() {}
55
53 // Called when the immersive mode controller has been destroyed. 56 // Called when the immersive mode controller has been destroyed.
54 virtual void OnImmersiveModeControllerDestroyed() {} 57 virtual void OnImmersiveModeControllerDestroyed() {}
55 58
56 protected: 59 protected:
57 virtual ~Observer() {} 60 virtual ~Observer() {}
58 }; 61 };
59 62
60 explicit ImmersiveModeController(Type type); 63 explicit ImmersiveModeController(Type type);
61 virtual ~ImmersiveModeController(); 64 virtual ~ImmersiveModeController();
62 65
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 }; 124 };
122 125
123 namespace chrome { 126 namespace chrome {
124 127
125 // Implemented in immersive_mode_controller_factory.cc. 128 // Implemented in immersive_mode_controller_factory.cc.
126 ImmersiveModeController* CreateImmersiveModeController(); 129 ImmersiveModeController* CreateImmersiveModeController();
127 130
128 } // namespace chrome 131 } // namespace chrome
129 132
130 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ 133 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698