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

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

Issue 1289413003: Switch global error menu icon to vectorized MD asset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: kick signin error service on mac Created 5 years, 3 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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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_RECOVERY_RECOVERY_INSTALL_GLOBAL_ERROR_H_ 5 #ifndef CHROME_BROWSER_RECOVERY_RECOVERY_INSTALL_GLOBAL_ERROR_H_
6 #define CHROME_BROWSER_RECOVERY_RECOVERY_INSTALL_GLOBAL_ERROR_H_ 6 #define CHROME_BROWSER_RECOVERY_RECOVERY_INSTALL_GLOBAL_ERROR_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/prefs/pref_change_registrar.h" 10 #include "base/prefs/pref_change_registrar.h"
(...skipping 12 matching lines...) Expand all
23 23
24 private: 24 private:
25 // KeyedService: 25 // KeyedService:
26 void Shutdown() override; 26 void Shutdown() override;
27 27
28 // GlobalErrorWithStandardBubble: 28 // GlobalErrorWithStandardBubble:
29 Severity GetSeverity() override; 29 Severity GetSeverity() override;
30 bool HasMenuItem() override; 30 bool HasMenuItem() override;
31 int MenuItemCommandID() override; 31 int MenuItemCommandID() override;
32 base::string16 MenuItemLabel() override; 32 base::string16 MenuItemLabel() override;
33 int MenuItemIconResourceID() override; 33 gfx::Image MenuItemIcon() override;
34 void ExecuteMenuItem(Browser* browser) override; 34 void ExecuteMenuItem(Browser* browser) override;
35 bool HasBubbleView() override; 35 bool HasBubbleView() override;
36 bool HasShownBubbleView() override; 36 bool HasShownBubbleView() override;
37 void ShowBubbleView(Browser* browser) override; 37 void ShowBubbleView(Browser* browser) override;
38 bool ShouldCloseOnDeactivate() const override; 38 bool ShouldCloseOnDeactivate() const override;
39 gfx::Image GetBubbleViewIcon() override; 39 gfx::Image GetBubbleViewIcon() override;
40 base::string16 GetBubbleViewTitle() override; 40 base::string16 GetBubbleViewTitle() override;
41 std::vector<base::string16> GetBubbleViewMessages() override; 41 std::vector<base::string16> GetBubbleViewMessages() override;
42 base::string16 GetBubbleViewAcceptButtonLabel() override; 42 base::string16 GetBubbleViewAcceptButtonLabel() override;
43 bool ShouldShowCloseButton() const override; 43 bool ShouldShowCloseButton() const override;
(...skipping 13 matching lines...) Expand all
57 57
58 // Monitors registry change for recovery component install. 58 // Monitors registry change for recovery component install.
59 PrefChangeRegistrar pref_registrar_; 59 PrefChangeRegistrar pref_registrar_;
60 60
61 bool has_shown_bubble_view_; 61 bool has_shown_bubble_view_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(RecoveryInstallGlobalError); 63 DISALLOW_COPY_AND_ASSIGN(RecoveryInstallGlobalError);
64 }; 64 };
65 65
66 #endif // CHROME_BROWSER_RECOVERY_RECOVERY_INSTALL_GLOBAL_ERROR_H_ 66 #endif // CHROME_BROWSER_RECOVERY_RECOVERY_INSTALL_GLOBAL_ERROR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698