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

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

Issue 13866026: Adds functionality to anchor widgets to the top-of-window views in immersive mode (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_STUB_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_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 "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 11 matching lines...) Expand all
22 virtual void SetEnabled(bool enabled) OVERRIDE; 22 virtual void SetEnabled(bool enabled) OVERRIDE;
23 virtual bool IsEnabled() const OVERRIDE; 23 virtual bool IsEnabled() const OVERRIDE;
24 virtual bool ShouldHideTabIndicators() const OVERRIDE; 24 virtual bool ShouldHideTabIndicators() const OVERRIDE;
25 virtual bool ShouldHideTopViews() const OVERRIDE; 25 virtual bool ShouldHideTopViews() const OVERRIDE;
26 virtual bool IsRevealed() const OVERRIDE; 26 virtual bool IsRevealed() const OVERRIDE;
27 virtual void MaybeStackViewAtTop() OVERRIDE; 27 virtual void MaybeStackViewAtTop() OVERRIDE;
28 virtual void MaybeStartReveal() OVERRIDE; 28 virtual void MaybeStartReveal() OVERRIDE;
29 virtual void CancelReveal() OVERRIDE; 29 virtual void CancelReveal() OVERRIDE;
30 virtual ImmersiveModeController::RevealedLock* 30 virtual ImmersiveModeController::RevealedLock*
31 GetRevealedLock() OVERRIDE WARN_UNUSED_RESULT; 31 GetRevealedLock() OVERRIDE WARN_UNUSED_RESULT;
32 virtual void AnchorWidgetToTopContainer(views::Widget* widget,
33 int y_offset) OVERRIDE;
34 virtual void UnanchorWidgetFromTopContainer(views::Widget* widget) OVERRIDE;
35 virtual void OnTopContainerBoundsChanged() OVERRIDE;
32 36
33 private: 37 private:
34 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerStub); 38 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerStub);
35 }; 39 };
36 40
37 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ 41 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698