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

Unified Diff: ui/app_list/views/folder_background_view.h

Issue 645853013: Remove some platform specific stuff from views. (Closed) Base URL: https://github.com/domokit/mojo.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/views/contents_view.cc ('k') | ui/app_list/views/folder_background_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/folder_background_view.h
diff --git a/ui/app_list/views/folder_background_view.h b/ui/app_list/views/folder_background_view.h
deleted file mode 100644
index dd6c9dd58af5d5a3c98bdbbbb97715525b228622..0000000000000000000000000000000000000000
--- a/ui/app_list/views/folder_background_view.h
+++ /dev/null
@@ -1,54 +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 UI_APP_LIST_VIEWS_FOLDER_BACKGROUND_VIEW_H_
-#define UI_APP_LIST_VIEWS_FOLDER_BACKGROUND_VIEW_H_
-
-#include "ui/compositor/layer_animation_observer.h"
-#include "ui/views/view.h"
-
-namespace app_list {
-
-class AppListFolderView;
-
-// Draws the ink bubble indicating the boundary of the folder when user drags an
-// item inside a folder.
-class FolderBackgroundView : public views::View,
- public ui::ImplicitAnimationObserver {
- public:
- enum ShowState {
- NO_BUBBLE,
- SHOW_BUBBLE,
- HIDE_BUBBLE,
- };
-
- FolderBackgroundView();
- virtual ~FolderBackgroundView();
-
- // Updates the ink bubble's ShowState.
- void UpdateFolderContainerBubble(ShowState state);
-
- // Returns the radius of the folder container ink bubble.
- int GetFolderContainerBubbleRadius() const;
-
- void set_folder_view(AppListFolderView* folder_view) {
- folder_view_ = folder_view;
- }
-
- private:
- // views::View overrides:
- virtual void OnPaint(gfx::Canvas* canvas) override;
-
- // ui::ImplicitAnimationObserver overrides:
- virtual void OnImplicitAnimationsCompleted() override;
-
- AppListFolderView* folder_view_;
- ShowState show_state_;
-
- DISALLOW_COPY_AND_ASSIGN(FolderBackgroundView);
-};
-
-} // namespace app_list
-
-#endif // UI_APP_LIST_VIEWS_FOLDER_BACKGROUND_VIEW_H_
« no previous file with comments | « ui/app_list/views/contents_view.cc ('k') | ui/app_list/views/folder_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698