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

Side by Side Diff: chrome/browser/nacl_host/nacl_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_NACL_HOST_NACL_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_NACL_HOST_NACL_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_NACL_HOST_NACL_INFOBAR_DELEGATE_H_
7 7
8 #include "components/infobars/core/confirm_infobar_delegate.h" 8 #include "components/infobars/core/confirm_infobar_delegate.h"
9 9
10 class NaClInfoBarDelegate : public ConfirmInfoBarDelegate { 10 class NaClInfoBarDelegate : public ConfirmInfoBarDelegate {
11 public: 11 public:
12 // Creates a NaCl infobar and delegate and adds the infobar to the infobar 12 // Creates a NaCl infobar and delegate and adds the infobar to the infobar
13 // service corresponding to the given render process and view IDs. 13 // service corresponding to the given render process and view IDs.
14 static void Create(int render_process_id, int render_view_id); 14 static void Create(int render_process_id, int render_view_id);
15 15
16 private: 16 private:
17 NaClInfoBarDelegate(); 17 NaClInfoBarDelegate();
18 virtual ~NaClInfoBarDelegate(); 18 virtual ~NaClInfoBarDelegate();
19 19
20 virtual base::string16 GetMessageText() const OVERRIDE; 20 virtual base::string16 GetMessageText() const override;
21 virtual int GetButtons() const OVERRIDE; 21 virtual int GetButtons() const override;
22 virtual base::string16 GetLinkText() const OVERRIDE; 22 virtual base::string16 GetLinkText() const override;
23 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; 23 virtual bool LinkClicked(WindowOpenDisposition disposition) override;
24 24
25 DISALLOW_COPY_AND_ASSIGN(NaClInfoBarDelegate); 25 DISALLOW_COPY_AND_ASSIGN(NaClInfoBarDelegate);
26 }; 26 };
27 27
28 #endif // CHROME_BROWSER_NACL_HOST_NACL_INFOBAR_DELEGATE_H_ 28 #endif // CHROME_BROWSER_NACL_HOST_NACL_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/nacl_host/nacl_browser_delegate_impl.h ('k') | chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698