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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.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 (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_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #import <Cocoa/Cocoa.h> 10 #import <Cocoa/Cocoa.h>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 GURL GetDestinationURL() const override; 60 GURL GetDestinationURL() const override;
61 WindowOpenDisposition GetWindowOpenDisposition() const override; 61 WindowOpenDisposition GetWindowOpenDisposition() const override;
62 ui::PageTransition GetPageTransition() const override; 62 ui::PageTransition GetPageTransition() const override;
63 void AcceptInput() override; 63 void AcceptInput() override;
64 void FocusLocation(bool select_all) override; 64 void FocusLocation(bool select_all) override;
65 void FocusSearch() override; 65 void FocusSearch() override;
66 void UpdateContentSettingsIcons() override; 66 void UpdateContentSettingsIcons() override;
67 void UpdateManagePasswordsIconAndBubble() override; 67 void UpdateManagePasswordsIconAndBubble() override;
68 void UpdatePageActions() override; 68 void UpdatePageActions() override;
69 void UpdateBookmarkStarVisibility() override; 69 void UpdateBookmarkStarVisibility() override;
70 void UpdateLocationBarState(bool visible, bool animate) override;
70 bool ShowPageActionPopup(const extensions::Extension* extension, 71 bool ShowPageActionPopup(const extensions::Extension* extension,
71 bool grant_active_tab) override; 72 bool grant_active_tab) override;
72 void UpdateOpenPDFInReaderPrompt() override; 73 void UpdateOpenPDFInReaderPrompt() override;
73 void UpdateGeneratedCreditCardView() override; 74 void UpdateGeneratedCreditCardView() override;
74 void SaveStateToContents(content::WebContents* contents) override; 75 void SaveStateToContents(content::WebContents* contents) override;
75 void Revert() override; 76 void Revert() override;
76 const OmniboxView* GetOmniboxView() const override; 77 const OmniboxView* GetOmniboxView() const override;
77 OmniboxView* GetOmniboxView() override; 78 OmniboxView* GetOmniboxView() override;
78 LocationBarTesting* GetLocationBarForTesting() override; 79 LocationBarTesting* GetLocationBarForTesting() override;
79 80
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // Used to change the visibility of the star decoration. 272 // Used to change the visibility of the star decoration.
272 BooleanPrefMember edit_bookmarks_enabled_; 273 BooleanPrefMember edit_bookmarks_enabled_;
273 274
274 // Used to schedule a task for the first run info bubble. 275 // Used to schedule a task for the first run info bubble.
275 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; 276 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;
276 277
277 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 278 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
278 }; 279 };
279 280
280 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 281 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698