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

Unified Diff: athena/home/home_card_view.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/home/home_card_unittest.cc ('k') | athena/home/home_card_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/home_card_view.h
diff --git a/athena/home/home_card_view.h b/athena/home/home_card_view.h
deleted file mode 100644
index 7504d2e23cec5c15292d79a6d72d1e6133cb639a..0000000000000000000000000000000000000000
--- a/athena/home/home_card_view.h
+++ /dev/null
@@ -1,85 +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_HOME_HOME_CARD_VIEW_H_
-#define ATHENA_HOME_HOME_CARD_VIEW_H_
-
-#include "athena/athena_export.h"
-#include "athena/home/home_card_gesture_manager.h"
-#include "base/callback_forward.h"
-#include "base/gtest_prod_util.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/weak_ptr.h"
-#include "ui/gfx/animation/tween.h"
-#include "ui/views/widget/widget_delegate.h"
-
-namespace app_list {
-class AppListMainView;
-class AppListViewDelegate;
-class SearchBoxView;
-}
-
-namespace aura {
-class Window;
-}
-
-namespace views {
-class View;
-}
-
-namespace athena {
-
-// The container view of home card contents.
-class ATHENA_EXPORT HomeCardView : public views::WidgetDelegateView {
- public:
- HomeCardView(app_list::AppListViewDelegate* view_delegate,
- HomeCardGestureManager::Delegate* gesture_delegate);
- ~HomeCardView() override;
-
- void Init();
-
- void SetStateProgress(HomeCard::State from_state,
- HomeCard::State to_state,
- float progress);
-
- void SetStateWithAnimation(HomeCard::State state,
- gfx::Tween::Type tween_type,
- const base::Closure& on_animation_ended);
-
- void ClearGesture();
-
- // views::View:
- void OnGestureEvent(ui::GestureEvent* event) override;
- bool OnMousePressed(const ui::MouseEvent& event) override;
- void Layout() override;
-
- private:
- FRIEND_TEST_ALL_PREFIXES(HomeCardTest, AppListStates);
-
- gfx::Rect GetDragIndicatorBounds(HomeCard::State state);
-
- gfx::Rect GetMainViewBounds(HomeCard::State state);
-
- void UpdateMinimizedBackgroundVisibility();
-
- // views::WidgetDelegate:
- views::View* GetContentsView() override;
-
- views::View* background_;
- app_list::AppListMainView* main_view_;
- app_list::SearchBoxView* search_box_view_;
- views::View* minimized_background_;
- views::View* drag_indicator_;
- HomeCard::State state_;
- scoped_ptr<HomeCardGestureManager> gesture_manager_;
- HomeCardGestureManager::Delegate* gesture_delegate_;
-
- base::WeakPtrFactory<HomeCardView> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(HomeCardView);
-};
-
-} // namespace athena
-
-#endif // ATHENA_HOME_CARD_VIEW_H_
« no previous file with comments | « athena/home/home_card_unittest.cc ('k') | athena/home/home_card_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698