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

Unified Diff: ui/app_list/app_list_bubble_border.h

Issue 10534051: app_list: Add transition for apps grid and search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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.gyp ('k') | ui/app_list/app_list_bubble_border.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_bubble_border.h
diff --git a/ui/app_list/app_list_bubble_border.h b/ui/app_list/app_list_bubble_border.h
index 70dd7bda75e26411a17e28cb8e4e03f6576e5233..37dbceb8ebae368b7df963b7553559981f7f3a9f 100644
--- a/ui/app_list/app_list_bubble_border.h
+++ b/ui/app_list/app_list_bubble_border.h
@@ -16,9 +16,7 @@ namespace app_list {
class AppListBubbleBorder : public views::BubbleBorder {
public:
AppListBubbleBorder(views::View* app_list_view,
- views::View* search_box_view,
- views::View* grid_view,
- views::View* results_view);
+ views::View* search_box_view);
virtual ~AppListBubbleBorder();
bool ArrowAtTopOrBottom() const;
@@ -31,12 +29,8 @@ class AppListBubbleBorder : public views::BubbleBorder {
// Gets arrow offset based on arrow location and |offset_|.
int GetArrowOffset() const;
- void PaintSearchBoxBackground(gfx::Canvas* canvas,
- const gfx::Rect& bounds) const;
- void PaintSearchResultListBackground(gfx::Canvas* canvas,
- const gfx::Rect& bounds) const;
- void PaintAppsGridBackground(gfx::Canvas* canvas,
- const gfx::Rect& bounds) const;
+ void PaintBackground(gfx::Canvas* canvas,
+ const gfx::Rect& bounds) const;
// views::BubbleBorder overrides:
virtual void GetInsets(gfx::Insets* insets) const OVERRIDE;
@@ -52,8 +46,6 @@ class AppListBubbleBorder : public views::BubbleBorder {
// Children view of AppListView that needs to paint background.
const views::View* search_box_view_;
- const views::View* grid_view_;
- const views::View* results_view_;
// Offset in pixels relative the default middle position.
gfx::Point offset_;
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/app_list/app_list_bubble_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698