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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_sync_promo_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 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_VIEWS_BOOKMARKS_BOOKMARK_SYNC_PROMO_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_SYNC_PROMO_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_SYNC_PROMO_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_SYNC_PROMO_VIEW_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 "ui/views/controls/styled_label_listener.h" 10 #include "ui/views/controls/styled_label_listener.h"
11 #include "ui/views/view.h" 11 #include "ui/views/view.h"
12 12
13 class BookmarkBubbleDelegate; 13 class BookmarkBubbleDelegate;
14 14
15 // Bookmark sync promo displayed at the bottom of the bookmark bubble. 15 // Bookmark sync promo displayed at the bottom of the bookmark bubble.
16 class BookmarkSyncPromoView : public views::StyledLabelListener, 16 class BookmarkSyncPromoView : public views::StyledLabelListener,
17 public views::View { 17 public views::View {
18 public: 18 public:
19 // |delegate| is not owned by BookmarkSyncPromoView. 19 // |delegate| is not owned by BookmarkSyncPromoView.
20 explicit BookmarkSyncPromoView(BookmarkBubbleDelegate* delegate); 20 explicit BookmarkSyncPromoView(BookmarkBubbleDelegate* delegate);
21 21
22 private: 22 private:
23 // views::StyledLabelListener: 23 // views::StyledLabelListener:
24 virtual void StyledLabelLinkClicked(const gfx::Range& range, 24 virtual void StyledLabelLinkClicked(const gfx::Range& range,
25 int event_flags) OVERRIDE; 25 int event_flags) override;
26 26
27 // Delegate, to handle clicks on the sign in link. 27 // Delegate, to handle clicks on the sign in link.
28 BookmarkBubbleDelegate* delegate_; 28 BookmarkBubbleDelegate* delegate_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(BookmarkSyncPromoView); 30 DISALLOW_COPY_AND_ASSIGN(BookmarkSyncPromoView);
31 }; 31 };
32 32
33 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_SYNC_PROMO_VIEW_H_ 33 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_SYNC_PROMO_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698