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

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

Issue 2733823003: Move final vector icons out of ui/gfx/vector_icons/ and remove the (Closed)
Patch Set: fix deps Created 3 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_STARTUP_AUTOMATION_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_STARTUP_AUTOMATION_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_UI_STARTUP_AUTOMATION_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_STARTUP_AUTOMATION_INFOBAR_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "components/infobars/core/confirm_infobar_delegate.h" 11 #include "components/infobars/core/confirm_infobar_delegate.h"
12 #include "ui/gfx/vector_icons_public.h"
13 #include "url/gurl.h" 12 #include "url/gurl.h"
14 13
15 // An infobar to inform users if their browser is being controlled by an 14 // An infobar to inform users if their browser is being controlled by an
16 // automated test. 15 // automated test.
17 class AutomationInfoBarDelegate : public ConfirmInfoBarDelegate { 16 class AutomationInfoBarDelegate : public ConfirmInfoBarDelegate {
18 public: 17 public:
19 static void Create(); 18 static void Create();
20 19
21 private: 20 private:
22 AutomationInfoBarDelegate(); 21 AutomationInfoBarDelegate();
23 ~AutomationInfoBarDelegate() override; 22 ~AutomationInfoBarDelegate() override;
24 23
25 infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; 24 infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
26 bool ShouldExpire(const NavigationDetails& details) const override; 25 bool ShouldExpire(const NavigationDetails& details) const override;
27 base::string16 GetMessageText() const override; 26 base::string16 GetMessageText() const override;
28 int GetButtons() const override; 27 int GetButtons() const override;
29 28
30 DISALLOW_COPY_AND_ASSIGN(AutomationInfoBarDelegate); 29 DISALLOW_COPY_AND_ASSIGN(AutomationInfoBarDelegate);
31 }; 30 };
32 31
33 #endif // CHROME_BROWSER_UI_STARTUP_AUTOMATION_INFOBAR_DELEGATE_H_ 32 #endif // CHROME_BROWSER_UI_STARTUP_AUTOMATION_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698