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

Side by Side Diff: ui/app_list/app_list_bubble_border.h

Issue 10388032: Move app list from ash to ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix win_aura bot and comments in #5 Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_APP_LIST_APP_LIST_BUBBLE_BORDER_H_ 5 #ifndef UI_APP_LIST_APP_LIST_BUBBLE_BORDER_H_
6 #define ASH_APP_LIST_APP_LIST_BUBBLE_BORDER_H_ 6 #define UI_APP_LIST_APP_LIST_BUBBLE_BORDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/views/bubble/bubble_border.h" 10 #include "ui/views/bubble/bubble_border.h"
11 11
12 namespace ash { 12 namespace app_list {
13 13
14 // A class to paint bubble border and background. 14 // A class to paint bubble border and background.
15 class AppListBubbleBorder : public views::BubbleBorder { 15 class AppListBubbleBorder : public views::BubbleBorder {
16 public: 16 public:
17 explicit AppListBubbleBorder(views::View* app_list_view); 17 explicit AppListBubbleBorder(views::View* app_list_view);
18 virtual ~AppListBubbleBorder(); 18 virtual ~AppListBubbleBorder();
19 19
20 int arrow_offset() const { 20 int arrow_offset() const {
21 return arrow_offset_; 21 return arrow_offset_;
22 } 22 }
(...skipping 18 matching lines...) Expand all
41 41
42 // AppListView hosted inside this bubble. 42 // AppListView hosted inside this bubble.
43 views::View* app_list_view_; 43 views::View* app_list_view_;
44 44
45 // Offset in pixels relative the default middle position. 45 // Offset in pixels relative the default middle position.
46 int arrow_offset_; 46 int arrow_offset_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(AppListBubbleBorder); 48 DISALLOW_COPY_AND_ASSIGN(AppListBubbleBorder);
49 }; 49 };
50 50
51 } // namespace ash 51 } // namespace app_list
52 52
53 #endif // ASH_APP_LIST_APP_LIST_BUBBLE_BORDER_H_ 53 #endif // UI_APP_LIST_APP_LIST_BUBBLE_BORDER_H_
OLDNEW
« 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