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

Unified Diff: ui/app_list/app_list_bubble_border.h

Issue 10905311: Consolidate bubble border code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove USE_AURA ifdef for kBigShadowImages and kSmalleShadowImages Created 8 years, 3 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_background.cc ('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
deleted file mode 100644
index 901afd953e822dd2bf685573c065508bc755c2de..0000000000000000000000000000000000000000
--- a/ui/app_list/app_list_bubble_border.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 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_APP_LIST_BUBBLE_BORDER_H_
-#define UI_APP_LIST_APP_LIST_BUBBLE_BORDER_H_
-
-#include "base/basictypes.h"
-#include "ui/gfx/shadow_value.h"
-#include "ui/views/bubble/bubble_border_2.h"
-
-namespace app_list {
-
-// A class to paint bubble border and background.
-class AppListBubbleBorder : public views::BubbleBorder2 {
- public:
- AppListBubbleBorder(views::View* app_list_view,
- views::View* search_box_view);
- virtual ~AppListBubbleBorder();
-
- private:
- // views::BubbleBorder2 overrides:
- virtual void PaintBackground(gfx::Canvas* canvas,
- const gfx::Rect& bounds) const OVERRIDE;
-
- // AppListView hosted inside this bubble.
- const views::View* app_list_view_; // Owned by views hierarchy.
-
- // Children view of AppListView that needs to paint background.
- const views::View* search_box_view_; // Owned by views hierarchy.
-
- DISALLOW_COPY_AND_ASSIGN(AppListBubbleBorder);
-};
-
-} // namespace app_list
-
-#endif // UI_APP_LIST_APP_LIST_BUBBLE_BORDER_H_
« no previous file with comments | « ui/app_list/app_list_background.cc ('k') | ui/app_list/app_list_bubble_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698