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

Side by Side Diff: chrome/browser/ui/views/outdated_upgrade_bubble_view.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_OUTDATED_UPGRADE_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_
7 7
8 #include "ui/views/bubble/bubble_delegate.h" 8 #include "ui/views/bubble/bubble_delegate.h"
9 #include "ui/views/controls/button/button.h" 9 #include "ui/views/controls/button/button.h"
10 10
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
28 static void ShowBubble(views::View* anchor_view, 28 static void ShowBubble(views::View* anchor_view,
29 content::PageNavigator* navigator, 29 content::PageNavigator* navigator,
30 bool auto_update_enabled); 30 bool auto_update_enabled);
31 31
32 // Identifies if we are running a build that supports the 32 // Identifies if we are running a build that supports the
33 // outdated upgrade bubble view. 33 // outdated upgrade bubble view.
34 static bool IsAvailable(); 34 static bool IsAvailable();
35 35
36 // views::BubbleDelegateView method. 36 // views::BubbleDelegateView method.
37 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 37 virtual views::View* GetInitiallyFocusedView() override;
38 38
39 // views::WidgetDelegate method. 39 // views::WidgetDelegate method.
40 virtual void WindowClosing() OVERRIDE; 40 virtual void WindowClosing() override;
41 41
42 private: 42 private:
43 OutdatedUpgradeBubbleView(views::View* anchor_view, 43 OutdatedUpgradeBubbleView(views::View* anchor_view,
44 content::PageNavigator* navigator, 44 content::PageNavigator* navigator,
45 bool auto_update_enabled); 45 bool auto_update_enabled);
46 virtual ~OutdatedUpgradeBubbleView(); 46 virtual ~OutdatedUpgradeBubbleView();
47 47
48 static bool IsShowing() { return upgrade_bubble_ != NULL; } 48 static bool IsShowing() { return upgrade_bubble_ != NULL; }
49 49
50 // views::BubbleDelegateView method. 50 // views::BubbleDelegateView method.
51 virtual void Init() OVERRIDE; 51 virtual void Init() override;
52 52
53 // views::ButtonListener method. 53 // views::ButtonListener method.
54 virtual void ButtonPressed(views::Button* sender, 54 virtual void ButtonPressed(views::Button* sender,
55 const ui::Event& event) OVERRIDE; 55 const ui::Event& event) override;
56 56
57 // Handle the message when the user presses a button. 57 // Handle the message when the user presses a button.
58 void HandleButtonPressed(views::Button* sender); 58 void HandleButtonPressed(views::Button* sender);
59 59
60 // The upgrade bubble, if we're showing one. 60 // The upgrade bubble, if we're showing one.
61 static OutdatedUpgradeBubbleView* upgrade_bubble_; 61 static OutdatedUpgradeBubbleView* upgrade_bubble_;
62 62
63 // The numer of times the user ignored the bubble before finally choosing to 63 // The numer of times the user ignored the bubble before finally choosing to
64 // reinstall. 64 // reinstall.
65 static int num_ignored_bubbles_; 65 static int num_ignored_bubbles_;
(...skipping 14 matching lines...) Expand all
80 80
81 // The PageNavigator to use for opening the Download Chrome URL. 81 // The PageNavigator to use for opening the Download Chrome URL.
82 content::PageNavigator* navigator_; 82 content::PageNavigator* navigator_;
83 83
84 scoped_ptr<ElevationIconSetter> elevation_icon_setter_; 84 scoped_ptr<ElevationIconSetter> elevation_icon_setter_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(OutdatedUpgradeBubbleView); 86 DISALLOW_COPY_AND_ASSIGN(OutdatedUpgradeBubbleView);
87 }; 87 };
88 88
89 #endif // CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_ 89 #endif // CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h ('k') | chrome/browser/ui/views/panels/panel_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698