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

Unified Diff: athena/activity/activity_widget_delegate.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/activity/activity_manager_unittest.cc ('k') | athena/activity/activity_widget_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/activity_widget_delegate.h
diff --git a/athena/activity/activity_widget_delegate.h b/athena/activity/activity_widget_delegate.h
deleted file mode 100644
index d6a1da337f9d0a2125de289fe2494dcc5ad4bebb..0000000000000000000000000000000000000000
--- a/athena/activity/activity_widget_delegate.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ATHENA_ACTIVITY_ACTIVITY_WIDGET_DELEGATE_H_
-#define ATHENA_ACTIVITY_ACTIVITY_WIDGET_DELEGATE_H_
-
-#include "base/macros.h"
-#include "ui/views/widget/widget_delegate.h"
-
-namespace athena {
-class ActivityViewModel;
-
-// A default WidgetDelegate for activities.
-// TODO(oshima): Allow AcitivyViewModel to create custom WidgetDelegate.
-class ActivityWidgetDelegate : public views::WidgetDelegate {
- public:
- explicit ActivityWidgetDelegate(ActivityViewModel* view_model);
- ~ActivityWidgetDelegate() override;
-
- // views::WidgetDelegate:
- bool CanResize() const override;
- bool CanMaximize() const override;
- bool CanMinimize() const override;
- base::string16 GetWindowTitle() const override;
- void DeleteDelegate() override;
- views::Widget* GetWidget() override;
- const views::Widget* GetWidget() const override;
- views::View* GetContentsView() override;
- views::NonClientFrameView* CreateNonClientFrameView(
- views::Widget* widget) override;
-
- private:
- ActivityViewModel* view_model_;
-
- DISALLOW_COPY_AND_ASSIGN(ActivityWidgetDelegate);
-};
-
-} // namespace athena
-
-#endif // ATHENA_ACTIVITY_ACTIVITY_WIDGET_DELEGATE_H_
« no previous file with comments | « athena/activity/activity_manager_unittest.cc ('k') | athena/activity/activity_widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698