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

Side by Side Diff: chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/sync/one_click_signin_bubble_delegate.h" 10 #include "chrome/browser/ui/sync/one_click_signin_bubble_delegate.h"
11 11
12 class Browser; 12 class Browser;
13 13
14 class OneClickSigninBubbleLinksDelegate : public OneClickSigninBubbleDelegate { 14 class OneClickSigninBubbleLinksDelegate : public OneClickSigninBubbleDelegate {
15 public: 15 public:
16 // |browser| must outlive the delegate. 16 // |browser| must outlive the delegate.
17 explicit OneClickSigninBubbleLinksDelegate(Browser* browser); 17 explicit OneClickSigninBubbleLinksDelegate(Browser* browser);
18 virtual ~OneClickSigninBubbleLinksDelegate(); 18 ~OneClickSigninBubbleLinksDelegate() override;
19 19
20 private: 20 private:
21 // OneClickSigninBubbleDelegate: 21 // OneClickSigninBubbleDelegate:
22 virtual void OnLearnMoreLinkClicked(bool is_dialog) override; 22 void OnLearnMoreLinkClicked(bool is_dialog) override;
23 virtual void OnAdvancedLinkClicked() override; 23 void OnAdvancedLinkClicked() override;
24 24
25 // Browser in which the links should be opened. 25 // Browser in which the links should be opened.
26 Browser* browser_; 26 Browser* browser_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(OneClickSigninBubbleLinksDelegate); 28 DISALLOW_COPY_AND_ASSIGN(OneClickSigninBubbleLinksDelegate);
29 }; 29 };
30 30
31 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_ 31 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698