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

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

Issue 178863002: Implement settings in a widnow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 | Annotate | Revision Log
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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 DetachType type); 765 DetachType type);
766 766
767 // Shared code between Reload() and ReloadIgnoringCache(). 767 // Shared code between Reload() and ReloadIgnoringCache().
768 void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache); 768 void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache);
769 769
770 // Depending on the disposition, return the current tab or a clone of the 770 // Depending on the disposition, return the current tab or a clone of the
771 // current tab. 771 // current tab.
772 content::WebContents* GetOrCloneTabForDisposition( 772 content::WebContents* GetOrCloneTabForDisposition(
773 WindowOpenDisposition disposition); 773 WindowOpenDisposition disposition);
774 774
775 // Returns true if the Browser window should show the location bar.
776 bool ShowLocationBar() const;
Ben Goodger (Google) 2014/03/03 18:55:16 Should probably be ShouldShowLocationBar or CanSho
stevenjb 2014/03/06 23:51:56 Done.
777
775 // Implementation of SupportsWindowFeature and CanSupportWindowFeature. If 778 // Implementation of SupportsWindowFeature and CanSupportWindowFeature. If
776 // |check_fullscreen| is true, the set of features reflect the actual state of 779 // |check_fullscreen| is true, the set of features reflect the actual state of
777 // the browser, otherwise the set of features reflect the possible state of 780 // the browser, otherwise the set of features reflect the possible state of
778 // the browser. 781 // the browser.
779 bool SupportsWindowFeatureImpl(WindowFeature feature, 782 bool SupportsWindowFeatureImpl(WindowFeature feature,
780 bool check_fullscreen) const; 783 bool check_fullscreen) const;
781 784
782 // Resets |bookmark_bar_state_| based on the active tab. Notifies the 785 // Resets |bookmark_bar_state_| based on the active tab. Notifies the
783 // BrowserWindow if necessary. 786 // BrowserWindow if necessary.
784 void UpdateBookmarkBarState(BookmarkBarStateChangeReason reason); 787 void UpdateBookmarkBarState(BookmarkBarStateChangeReason reason);
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 base::WeakPtrFactory<Browser> weak_factory_; 931 base::WeakPtrFactory<Browser> weak_factory_;
929 932
930 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; 933 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_;
931 934
932 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; 935 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_;
933 936
934 DISALLOW_COPY_AND_ASSIGN(Browser); 937 DISALLOW_COPY_AND_ASSIGN(Browser);
935 }; 938 };
936 939
937 #endif // CHROME_BROWSER_UI_BROWSER_H_ 940 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698