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

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 1036173002: Animate showing / hiding the location bar for bookmark apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac compile Created 5 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 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/browser_close_manager.h" 9 #include "chrome/browser/lifetime/browser_close_manager.h"
10 #include "chrome/browser/signin/signin_header_helper.h" 10 #include "chrome/browser/signin/signin_header_helper.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 171
172 // Updates the toolbar with the state for the specified |contents|. 172 // Updates the toolbar with the state for the specified |contents|.
173 virtual void UpdateToolbar(content::WebContents* contents) = 0; 173 virtual void UpdateToolbar(content::WebContents* contents) = 0;
174 174
175 // Resets the toolbar's tab state for |contents|. 175 // Resets the toolbar's tab state for |contents|.
176 virtual void ResetToolbarTabState(content::WebContents* contents) = 0; 176 virtual void ResetToolbarTabState(content::WebContents* contents) = 0;
177 177
178 // Focuses the toolbar (for accessibility). 178 // Focuses the toolbar (for accessibility).
179 virtual void FocusToolbar() = 0; 179 virtual void FocusToolbar() = 0;
180 180
181 // Called from toolbar subviews during their show/hide animations.
182 virtual void ToolbarSizeChanged(bool is_animating) = 0;
183
181 // Focuses the app menu like it was a menu bar. 184 // Focuses the app menu like it was a menu bar.
182 // 185 //
183 // Not used on the Mac, which has a "normal" menu bar. 186 // Not used on the Mac, which has a "normal" menu bar.
184 virtual void FocusAppMenu() = 0; 187 virtual void FocusAppMenu() = 0;
185 188
186 // Focuses the bookmarks toolbar (for accessibility). 189 // Focuses the bookmarks toolbar (for accessibility).
187 virtual void FocusBookmarksToolbar() = 0; 190 virtual void FocusBookmarksToolbar() = 0;
188 191
189 // Focuses an infobar, if shown (for accessibility). 192 // Focuses an infobar, if shown (for accessibility).
190 virtual void FocusInfobars() = 0; 193 virtual void FocusInfobars() = 0;
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // Returns object implementing ExclusiveAccessContext interface. 402 // Returns object implementing ExclusiveAccessContext interface.
400 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; 403 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0;
401 404
402 protected: 405 protected:
403 friend class BrowserCloseManager; 406 friend class BrowserCloseManager;
404 friend class BrowserView; 407 friend class BrowserView;
405 virtual void DestroyBrowser() = 0; 408 virtual void DestroyBrowser() = 0;
406 }; 409 };
407 410
408 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 411 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698