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

Unified Diff: ui/app_list/app_list_view.h

Issue 10533032: cleanup: Remove applist v1 code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/app_list_item_view.cc ('k') | ui/app_list/app_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_view.h
diff --git a/ui/app_list/app_list_view.h b/ui/app_list/app_list_view.h
index de14cb9e29c54e03fc2074cc17383c4f9717e19b..d2aa5e957ef6ec71b523eb16c69212d222a2a1db 100644
--- a/ui/app_list/app_list_view.h
+++ b/ui/app_list/app_list_view.h
@@ -40,9 +40,6 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
virtual ~AppListView();
// Initializes the widget.
- void InitAsFullscreenWidget(gfx::NativeView parent,
- const gfx::Rect& screen_bounds,
- const gfx::Rect& work_area);
void InitAsBubble(gfx::NativeView parent,
views::View* anchor,
views::BubbleBorder::ArrowLocation arrow_location);
@@ -50,16 +47,9 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
void SetBubbleArrowLocation(
views::BubbleBorder::ArrowLocation arrow_location);
- void AnimateShow(int duration_ms);
- void AnimateHide(int duration_ms);
-
void Close();
- void UpdateBounds(const gfx::Rect& screen_bounds,
- const gfx::Rect& work_area);
-
- bool bubble_style() const { return bubble_style_; }
- SearchBoxView* search_box() const { return search_box_view_; }
+ void UpdateBounds();
private:
// Creates models to use.
@@ -72,7 +62,6 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void Layout() OVERRIDE;
virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE;
- virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
// Overridden from views::ButtonListener:
virtual void ButtonPressed(views::Button* sender,
@@ -94,18 +83,13 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
// PaginationModel for model view and page switcher.
scoped_ptr<PaginationModel> pagination_model_;
- bool bubble_style_;
AppListBubbleBorder* bubble_border_; // Owned by views hierarchy.
- AppsGridView* apps_view_; // Owned by views hierarchy.
+ AppsGridView* apps_grid_view_; // Owned by views hierarchy.
PageSwitcher* page_switcher_view_; // Owned by views hierarchy.
SearchBoxView* search_box_view_; // Owned by views hierarchy.
SearchResultListView* search_results_view_; // Owned by views hierarchy.
- // Work area in screen coordinates to layout app list. This is used for
- // full screen mode.
- gfx::Rect work_area_;
-
DISALLOW_COPY_AND_ASSIGN(AppListView);
};
« no previous file with comments | « ui/app_list/app_list_item_view.cc ('k') | ui/app_list/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698