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

Side by Side Diff: chrome/browser/ui/views/confirm_bubble_views.h

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/views/controls/link_listener.h" 10 #include "ui/views/controls/link_listener.h"
(...skipping 13 matching lines...) Expand all
24 class ConfirmBubbleViews : public views::DialogDelegateView, 24 class ConfirmBubbleViews : public views::DialogDelegateView,
25 public views::LinkListener { 25 public views::LinkListener {
26 public: 26 public:
27 explicit ConfirmBubbleViews(ConfirmBubbleModel* model); 27 explicit ConfirmBubbleViews(ConfirmBubbleModel* model);
28 28
29 protected: 29 protected:
30 virtual ~ConfirmBubbleViews(); 30 virtual ~ConfirmBubbleViews();
31 31
32 // views::DialogDelegate implementation. 32 // views::DialogDelegate implementation.
33 virtual base::string16 GetDialogButtonLabel( 33 virtual base::string16 GetDialogButtonLabel(
34 ui::DialogButton button) const OVERRIDE; 34 ui::DialogButton button) const override;
35 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 35 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const override;
36 virtual views::View* CreateExtraView() OVERRIDE; 36 virtual views::View* CreateExtraView() override;
37 virtual bool Cancel() OVERRIDE; 37 virtual bool Cancel() override;
38 virtual bool Accept() OVERRIDE; 38 virtual bool Accept() override;
39 39
40 // views::WidgetDelegate implementation. 40 // views::WidgetDelegate implementation.
41 virtual ui::ModalType GetModalType() const OVERRIDE; 41 virtual ui::ModalType GetModalType() const override;
42 virtual base::string16 GetWindowTitle() const OVERRIDE; 42 virtual base::string16 GetWindowTitle() const override;
43 43
44 // views::LinkListener implementation. 44 // views::LinkListener implementation.
45 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 45 virtual void LinkClicked(views::Link* source, int event_flags) override;
46 46
47 private: 47 private:
48 // The model to customize this bubble view. 48 // The model to customize this bubble view.
49 scoped_ptr<ConfirmBubbleModel> model_; 49 scoped_ptr<ConfirmBubbleModel> model_;
50 50
51 views::Link* link_; 51 views::Link* link_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(ConfirmBubbleViews); 53 DISALLOW_COPY_AND_ASSIGN(ConfirmBubbleViews);
54 }; 54 };
55 55
56 #endif // CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_ 56 #endif // CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/color_chooser_win.cc ('k') | chrome/browser/ui/views/conflicting_module_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698