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

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

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PEPPER_BROKER_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_PEPPER_BROKER_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_PEPPER_BROKER_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_PEPPER_BROKER_INFOBAR_DELEGATE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "components/infobars/core/confirm_infobar_delegate.h" 10 #include "components/infobars/core/confirm_infobar_delegate.h"
(...skipping 24 matching lines...) Expand all
35 private: 35 private:
36 PepperBrokerInfoBarDelegate(const GURL& url, 36 PepperBrokerInfoBarDelegate(const GURL& url,
37 const base::FilePath& plugin_path, 37 const base::FilePath& plugin_path,
38 const std::string& languages, 38 const std::string& languages,
39 HostContentSettingsMap* content_settings, 39 HostContentSettingsMap* content_settings,
40 TabSpecificContentSettings* tab_content_settings, 40 TabSpecificContentSettings* tab_content_settings,
41 const base::Callback<void(bool)>& callback); 41 const base::Callback<void(bool)>& callback);
42 virtual ~PepperBrokerInfoBarDelegate(); 42 virtual ~PepperBrokerInfoBarDelegate();
43 43
44 // ConfirmInfoBarDelegate: 44 // ConfirmInfoBarDelegate:
45 virtual int GetIconID() const OVERRIDE; 45 virtual int GetIconID() const override;
46 virtual base::string16 GetMessageText() const OVERRIDE; 46 virtual base::string16 GetMessageText() const override;
47 virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; 47 virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
48 virtual bool Accept() OVERRIDE; 48 virtual bool Accept() override;
49 virtual bool Cancel() OVERRIDE; 49 virtual bool Cancel() override;
50 virtual base::string16 GetLinkText() const OVERRIDE; 50 virtual base::string16 GetLinkText() const override;
51 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; 51 virtual bool LinkClicked(WindowOpenDisposition disposition) override;
52 52
53 void DispatchCallback(bool result); 53 void DispatchCallback(bool result);
54 54
55 const GURL url_; 55 const GURL url_;
56 const base::FilePath plugin_path_; 56 const base::FilePath plugin_path_;
57 const std::string languages_; 57 const std::string languages_;
58 HostContentSettingsMap* content_settings_; 58 HostContentSettingsMap* content_settings_;
59 TabSpecificContentSettings* tab_content_settings_; 59 TabSpecificContentSettings* tab_content_settings_;
60 base::Callback<void(bool)> callback_; 60 base::Callback<void(bool)> callback_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(PepperBrokerInfoBarDelegate); 62 DISALLOW_COPY_AND_ASSIGN(PepperBrokerInfoBarDelegate);
63 }; 63 };
64 64
65 #endif // CHROME_BROWSER_PEPPER_BROKER_INFOBAR_DELEGATE_H_ 65 #endif // CHROME_BROWSER_PEPPER_BROKER_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/save_password_infobar_delegate.h ('k') | chrome/browser/pepper_flash_settings_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698