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

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

Issue 885283009: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 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_PASSWORD_MANAGER_GENERATED_PASSWORD_SAVED_INFOBAR_DELEGAT E_ANDROID_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_GENERATED_PASSWORD_SAVED_INFOBAR_DELEGAT E_ANDROID_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_GENERATED_PASSWORD_SAVED_INFOBAR_DELEGAT E_ANDROID_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_GENERATED_PASSWORD_SAVED_INFOBAR_DELEGAT E_ANDROID_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "components/infobars/core/infobar_delegate.h" 10 #include "components/infobars/core/infobar_delegate.h"
(...skipping 21 matching lines...) Expand all
32 // Returns the translated label of the button. 32 // Returns the translated label of the button.
33 const base::string16& button_label() const { return button_label_; } 33 const base::string16& button_label() const { return button_label_; }
34 34
35 // Called when the link in the message is clicked. 35 // Called when the link in the message is clicked.
36 void OnInlineLinkClicked() const; 36 void OnInlineLinkClicked() const;
37 37
38 private: 38 private:
39 GeneratedPasswordSavedInfoBarDelegateAndroid(); 39 GeneratedPasswordSavedInfoBarDelegateAndroid();
40 40
41 // InfoBarDelegate implementation: 41 // InfoBarDelegate implementation:
42 virtual int GetIconID() const override; 42 int GetIconID() const override;
43 virtual Type GetInfoBarType() const override; 43 Type GetInfoBarType() const override;
44 44
45 // The translated text of the message to display. 45 // The translated text of the message to display.
46 base::string16 message_text_; 46 base::string16 message_text_;
47 47
48 // The range of the message that should be a link. 48 // The range of the message that should be a link.
49 gfx::Range inline_link_range_; 49 gfx::Range inline_link_range_;
50 50
51 // The translated label of the button. 51 // The translated label of the button.
52 base::string16 button_label_; 52 base::string16 button_label_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(GeneratedPasswordSavedInfoBarDelegateAndroid); 54 DISALLOW_COPY_AND_ASSIGN(GeneratedPasswordSavedInfoBarDelegateAndroid);
55 }; 55 };
56 56
57 #endif // CHROME_BROWSER_PASSWORD_MANAGER_GENERATED_PASSWORD_SAVED_INFOBAR_DELE GATE_ANDROID_H_ 57 #endif // CHROME_BROWSER_PASSWORD_MANAGER_GENERATED_PASSWORD_SAVED_INFOBAR_DELE GATE_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698