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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.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: Fix stuffup 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
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" 10 #include "chrome/browser/extensions/extension_keybinding_registry.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 bool IsFullscreenBubbleVisible() const override; 88 bool IsFullscreenBubbleVisible() const override;
89 bool SupportsFullscreenWithToolbar() const override; 89 bool SupportsFullscreenWithToolbar() const override;
90 void UpdateFullscreenWithToolbar(bool with_toolbar) override; 90 void UpdateFullscreenWithToolbar(bool with_toolbar) override;
91 bool IsFullscreenWithToolbar() const override; 91 bool IsFullscreenWithToolbar() const override;
92 LocationBar* GetLocationBar() const override; 92 LocationBar* GetLocationBar() const override;
93 void SetFocusToLocationBar(bool select_all) override; 93 void SetFocusToLocationBar(bool select_all) override;
94 void UpdateReloadStopState(bool is_loading, bool force) override; 94 void UpdateReloadStopState(bool is_loading, bool force) override;
95 void UpdateToolbar(content::WebContents* contents) override; 95 void UpdateToolbar(content::WebContents* contents) override;
96 void ResetToolbarTabState(content::WebContents* contents) override; 96 void ResetToolbarTabState(content::WebContents* contents) override;
97 void FocusToolbar() override; 97 void FocusToolbar() override;
98 void ToolbarSizeChanged(bool is_animating) override;
98 void FocusAppMenu() override; 99 void FocusAppMenu() override;
99 void FocusBookmarksToolbar() override; 100 void FocusBookmarksToolbar() override;
100 void FocusInfobars() override; 101 void FocusInfobars() override;
101 void RotatePaneFocus(bool forwards) override; 102 void RotatePaneFocus(bool forwards) override;
102 bool IsBookmarkBarVisible() const override; 103 bool IsBookmarkBarVisible() const override;
103 bool IsBookmarkBarAnimating() const override; 104 bool IsBookmarkBarAnimating() const override;
104 bool IsTabStripEditable() const override; 105 bool IsTabStripEditable() const override;
105 bool IsToolbarVisible() const override; 106 bool IsToolbarVisible() const override;
106 gfx::Rect GetRootWindowResizerRect() const override; 107 gfx::Rect GetRootWindowResizerRect() const override;
107 void ConfirmAddSearchProvider(TemplateURL* template_url, 108 void ConfirmAddSearchProvider(TemplateURL* template_url,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 NSWindow* window() const; // Accessor for the (current) |NSWindow|. 189 NSWindow* window() const; // Accessor for the (current) |NSWindow|.
189 190
190 Browser* browser_; // weak, owned by controller 191 Browser* browser_; // weak, owned by controller
191 BrowserWindowController* controller_; // weak, owns us 192 BrowserWindowController* controller_; // weak, owns us
192 base::scoped_nsobject<NSString> pending_window_title_; 193 base::scoped_nsobject<NSString> pending_window_title_;
193 ui::WindowShowState initial_show_state_; 194 ui::WindowShowState initial_show_state_;
194 NSInteger attention_request_id_; // identifier from requestUserAttention 195 NSInteger attention_request_id_; // identifier from requestUserAttention
195 }; 196 };
196 197
197 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 198 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698