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

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

Issue 15685014: Delete unused prefs::kHomePageChanged. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 7 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 | « no previous file | chrome/browser/ui/browser.cc » ('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_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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 671
672 // Overridden from SearchModelObserver: 672 // Overridden from SearchModelObserver:
673 virtual void ModelChanged(const SearchModel::State& old_state, 673 virtual void ModelChanged(const SearchModel::State& old_state,
674 const SearchModel::State& new_state) OVERRIDE; 674 const SearchModel::State& new_state) OVERRIDE;
675 675
676 // Command and state updating /////////////////////////////////////////////// 676 // Command and state updating ///////////////////////////////////////////////
677 677
678 // Handle changes to kDevTools preference. 678 // Handle changes to kDevTools preference.
679 void OnDevToolsDisabledChanged(); 679 void OnDevToolsDisabledChanged();
680 680
681 // Set the preference that indicates that the home page has been changed.
682 void MarkHomePageAsChanged();
683
684 // UI update coalescing and handling //////////////////////////////////////// 681 // UI update coalescing and handling ////////////////////////////////////////
685 682
686 // Asks the toolbar (and as such the location bar) to update its state to 683 // Asks the toolbar (and as such the location bar) to update its state to
687 // reflect the current tab's current URL, security state, etc. 684 // reflect the current tab's current URL, security state, etc.
688 // If |should_restore_state| is true, we're switching (back?) to this tab and 685 // If |should_restore_state| is true, we're switching (back?) to this tab and
689 // should restore any previous location bar state (such as user editing) as 686 // should restore any previous location bar state (such as user editing) as
690 // well. 687 // well.
691 void UpdateToolbar(bool should_restore_state); 688 void UpdateToolbar(bool should_restore_state);
692 689
693 // Updates the browser's search model with the tab's search model. 690 // Updates the browser's search model with the tab's search model.
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 bool window_has_shown_; 912 bool window_has_shown_;
916 913
917 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 914 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
918 // before DidEndColorChooser is called. 915 // before DidEndColorChooser is called.
919 scoped_ptr<content::ColorChooser> color_chooser_; 916 scoped_ptr<content::ColorChooser> color_chooser_;
920 917
921 DISALLOW_COPY_AND_ASSIGN(Browser); 918 DISALLOW_COPY_AND_ASSIGN(Browser);
922 }; 919 };
923 920
924 #endif // CHROME_BROWSER_UI_BROWSER_H_ 921 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698