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

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

Issue 482003: Get web app icon via FavIconHelper and auto repair/update (Closed)
Patch Set: miranda's review 1 Created 11 years 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/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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 // The Find Bar. This may be NULL if there is no Find Bar, and if it is 816 // The Find Bar. This may be NULL if there is no Find Bar, and if it is
817 // non-NULL, it may or may not be visible. 817 // non-NULL, it may or may not be visible.
818 scoped_ptr<FindBarController> find_bar_controller_; 818 scoped_ptr<FindBarController> find_bar_controller_;
819 819
820 // Dialog box used for opening and saving files. 820 // Dialog box used for opening and saving files.
821 scoped_refptr<SelectFileDialog> select_file_dialog_; 821 scoped_refptr<SelectFileDialog> select_file_dialog_;
822 822
823 // Keep track of the encoding auto detect pref. 823 // Keep track of the encoding auto detect pref.
824 BooleanPrefMember encoding_auto_detect_; 824 BooleanPrefMember encoding_auto_detect_;
825 825
826 // Different types of action when web app info is available.
827 // OnDidGetApplicationInfo uses this to dispatch calls.
828 enum WebAppAction {
829 NONE, // No action at all.
830 CREATE_SHORTCUT, // Bring up create application shortcut dialog.
831 UPDATE_SHORTCUT // Update icon for app shortcut.
832 };
833
834 // Which deferred action to perform when OnDidGetApplicationInfo is notified
835 // from a TabContents. Currently, only one pending action is allowed.
836 WebAppAction pending_web_app_action_;
837
826 DISALLOW_COPY_AND_ASSIGN(Browser); 838 DISALLOW_COPY_AND_ASSIGN(Browser);
827 }; 839 };
828 840
829 #endif // CHROME_BROWSER_BROWSER_H_ 841 #endif // CHROME_BROWSER_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698