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

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

Issue 334019: Lazily create the find bar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_BROWSER_H_
6 #define CHROME_BROWSER_BROWSER_H_ 6 #define CHROME_BROWSER_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 DCHECK(!window_); 130 DCHECK(!window_);
131 window_ = window; 131 window_ = window;
132 } 132 }
133 #endif 133 #endif
134 134
135 BrowserWindow* window() const { return window_; } 135 BrowserWindow* window() const { return window_; }
136 ToolbarModel* toolbar_model() { return &toolbar_model_; } 136 ToolbarModel* toolbar_model() { return &toolbar_model_; }
137 const SessionID& session_id() const { return session_id_; } 137 const SessionID& session_id() const { return session_id_; }
138 CommandUpdater* command_updater() { return &command_updater_; } 138 CommandUpdater* command_updater() { return &command_updater_; }
139 FindBarController* find_bar() { return find_bar_controller_.get(); } 139 FindBarController* find_bar() { return find_bar_controller_.get(); }
140 FindBarController* GetFindBarController();
140 ExtensionShelfModel* extension_shelf_model() { 141 ExtensionShelfModel* extension_shelf_model() {
141 return extension_shelf_model_.get(); 142 return extension_shelf_model_.get();
142 } 143 }
143 144
144 // Setters ///////////////////////////////////////////////////////////////// 145 // Setters /////////////////////////////////////////////////////////////////
145 146
146 void set_user_data_dir_profiles(const std::vector<std::wstring>& profiles); 147 void set_user_data_dir_profiles(const std::vector<std::wstring>& profiles);
147 148
148 // Browser Creation Helpers ///////////////////////////////////////////////// 149 // Browser Creation Helpers /////////////////////////////////////////////////
149 150
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 // Dialog box used for opening and saving files. 810 // Dialog box used for opening and saving files.
810 scoped_refptr<SelectFileDialog> select_file_dialog_; 811 scoped_refptr<SelectFileDialog> select_file_dialog_;
811 812
812 // Keep track of the encoding auto detect pref. 813 // Keep track of the encoding auto detect pref.
813 BooleanPrefMember encoding_auto_detect_; 814 BooleanPrefMember encoding_auto_detect_;
814 815
815 DISALLOW_COPY_AND_ASSIGN(Browser); 816 DISALLOW_COPY_AND_ASSIGN(Browser);
816 }; 817 };
817 818
818 #endif // CHROME_BROWSER_BROWSER_H_ 819 #endif // CHROME_BROWSER_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698