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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/immersive_mode_controller_stub.h
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_stub.h b/chrome/browser/ui/views/frame/immersive_mode_controller_stub.h
index b56d82222ea41861e293e22fe6e68d4adf9d0d04..ec643427551e32a1714e251d902603ca82e9f26a 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_stub.h
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_stub.h
@@ -27,6 +27,10 @@ class ImmersiveModeControllerStub : public ImmersiveModeController {
virtual void MaybeStackViewAtTop() OVERRIDE;
virtual ImmersiveModeController::RevealedLock*
GetRevealedLock() OVERRIDE WARN_UNUSED_RESULT;
+ virtual void AnchorWidgetToTopContainer(views::Widget* widget,
+ int y_offset) OVERRIDE;
+ virtual void UnanchorWidgetFromTopContainer(views::Widget* widget) OVERRIDE;
+ virtual void OnTopContainerBoundsChanged() OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerStub);

Powered by Google App Engine
This is Rietveld 408576698