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

Side by Side Diff: ui/app_list/views/app_list_background.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/app_list/views/all_apps_tile_item_view.h ('k') | ui/app_list/views/app_list_item_view.h » ('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 UI_APP_LIST_VIEWS_APP_LIST_BACKGROUND_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_BACKGROUND_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_BACKGROUND_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_BACKGROUND_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/views/background.h" 10 #include "ui/views/background.h"
11 11
12 namespace views { 12 namespace views {
13 class View; 13 class View;
14 } 14 }
15 15
16 namespace app_list { 16 namespace app_list {
17 17
18 class AppListMainView;
19
20 // A class to paint bubble background. 18 // A class to paint bubble background.
21 class AppListBackground : public views::Background { 19 class AppListBackground : public views::Background {
22 public: 20 public:
23 explicit AppListBackground(int corner_radius); 21 explicit AppListBackground(int corner_radius);
24 ~AppListBackground() override; 22 ~AppListBackground() override;
25 23
26 private: 24 private:
27 // views::Background overrides: 25 // views::Background overrides:
28 void Paint(gfx::Canvas* canvas, views::View* view) const override; 26 void Paint(gfx::Canvas* canvas, views::View* view) const override;
29 27
30 const int corner_radius_; 28 const int corner_radius_;
31 29
32 DISALLOW_COPY_AND_ASSIGN(AppListBackground); 30 DISALLOW_COPY_AND_ASSIGN(AppListBackground);
33 }; 31 };
34 32
35 } // namespace app_list 33 } // namespace app_list
36 34
37 #endif // UI_APP_LIST_VIEWS_APP_LIST_BACKGROUND_H_ 35 #endif // UI_APP_LIST_VIEWS_APP_LIST_BACKGROUND_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/all_apps_tile_item_view.h ('k') | ui/app_list/views/app_list_item_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698