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

Unified Diff: athena/activity/activity_widget_delegate.cc

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_widget_delegate.h ('k') | athena/activity/public/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/activity_widget_delegate.cc
diff --git a/athena/activity/activity_widget_delegate.cc b/athena/activity/activity_widget_delegate.cc
deleted file mode 100644
index 1f5ee8ce90997dc69806f22781f6364d22615182..0000000000000000000000000000000000000000
--- a/athena/activity/activity_widget_delegate.cc
+++ /dev/null
@@ -1,58 +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.
-
-#include "athena/activity/activity_widget_delegate.h"
-
-#include "athena/activity/activity_frame_view.h"
-#include "athena/activity/public/activity_view_model.h"
-#include "ui/views/view.h"
-#include "ui/views/window/client_view.h"
-
-namespace athena {
-
-ActivityWidgetDelegate::ActivityWidgetDelegate(ActivityViewModel* view_model)
- : view_model_(view_model) {
-}
-
-ActivityWidgetDelegate::~ActivityWidgetDelegate() {
-}
-
-bool ActivityWidgetDelegate::CanResize() const {
- return true;
-}
-
-bool ActivityWidgetDelegate::CanMaximize() const {
- return true;
-}
-
-bool ActivityWidgetDelegate::CanMinimize() const {
- return true;
-}
-
-base::string16 ActivityWidgetDelegate::GetWindowTitle() const {
- return view_model_->GetTitle();
-}
-
-void ActivityWidgetDelegate::DeleteDelegate() {
- delete this;
-}
-
-views::Widget* ActivityWidgetDelegate::GetWidget() {
- return GetContentsView()->GetWidget();
-}
-
-const views::Widget* ActivityWidgetDelegate::GetWidget() const {
- return const_cast<ActivityWidgetDelegate*>(this)->GetWidget();
-}
-
-views::View* ActivityWidgetDelegate::GetContentsView() {
- return view_model_->GetContentsView();
-}
-
-views::NonClientFrameView* ActivityWidgetDelegate::CreateNonClientFrameView(
- views::Widget* widget) {
- return new ActivityFrameView(widget, view_model_);
-}
-
-} // namespace athena
« no previous file with comments | « athena/activity/activity_widget_delegate.h ('k') | athena/activity/public/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698