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

Side by Side Diff: athena/activity/activity_widget_delegate.h

Issue 623103002: replace OVERRIDE and FINAL with override and final in athena/ (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
« no previous file with comments | « athena/activity/activity_manager_impl.h ('k') | athena/content/app_activity.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ATHENA_ACTIVITY_ACTIVITY_WIDGET_DELEGATE_H_ 5 #ifndef ATHENA_ACTIVITY_ACTIVITY_WIDGET_DELEGATE_H_
6 #define ATHENA_ACTIVITY_ACTIVITY_WIDGET_DELEGATE_H_ 6 #define ATHENA_ACTIVITY_ACTIVITY_WIDGET_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/views/widget/widget_delegate.h" 9 #include "ui/views/widget/widget_delegate.h"
10 10
11 namespace athena { 11 namespace athena {
12 class ActivityViewModel; 12 class ActivityViewModel;
13 13
14 // A default WidgetDelegate for activities. 14 // A default WidgetDelegate for activities.
15 // TODO(oshima): Allow AcitivyViewModel to create custom WidgetDelegate. 15 // TODO(oshima): Allow AcitivyViewModel to create custom WidgetDelegate.
16 class ActivityWidgetDelegate : public views::WidgetDelegate { 16 class ActivityWidgetDelegate : public views::WidgetDelegate {
17 public: 17 public:
18 explicit ActivityWidgetDelegate(ActivityViewModel* view_model); 18 explicit ActivityWidgetDelegate(ActivityViewModel* view_model);
19 virtual ~ActivityWidgetDelegate(); 19 virtual ~ActivityWidgetDelegate();
20 20
21 // views::WidgetDelegate: 21 // views::WidgetDelegate:
22 virtual base::string16 GetWindowTitle() const OVERRIDE; 22 virtual base::string16 GetWindowTitle() const override;
23 virtual void DeleteDelegate() OVERRIDE; 23 virtual void DeleteDelegate() override;
24 virtual views::Widget* GetWidget() OVERRIDE; 24 virtual views::Widget* GetWidget() override;
25 virtual const views::Widget* GetWidget() const OVERRIDE; 25 virtual const views::Widget* GetWidget() const override;
26 virtual views::View* GetContentsView() OVERRIDE; 26 virtual views::View* GetContentsView() override;
27 virtual views::ClientView* CreateClientView(views::Widget* widget) OVERRIDE; 27 virtual views::ClientView* CreateClientView(views::Widget* widget) override;
28 virtual views::NonClientFrameView* CreateNonClientFrameView( 28 virtual views::NonClientFrameView* CreateNonClientFrameView(
29 views::Widget* widget) OVERRIDE; 29 views::Widget* widget) override;
30 30
31 private: 31 private:
32 ActivityViewModel* view_model_; 32 ActivityViewModel* view_model_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(ActivityWidgetDelegate); 34 DISALLOW_COPY_AND_ASSIGN(ActivityWidgetDelegate);
35 }; 35 };
36 36
37 } // namespace athena 37 } // namespace athena
38 38
39 #endif // ATHENA_ACTIVITY_ACTIVITY_WIDGET_DELEGATE_H_ 39 #endif // ATHENA_ACTIVITY_ACTIVITY_WIDGET_DELEGATE_H_
OLDNEW
« no previous file with comments | « athena/activity/activity_manager_impl.h ('k') | athena/content/app_activity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698