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

Side by Side Diff: ash/app_list/app_list_item_view.h

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 9 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 | « no previous file | ash/app_list/drop_shadow_label.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 ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ 5 #ifndef ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_
6 #define ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ 6 #define ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/app_list/app_list_item_model_observer.h" 9 #include "ash/app_list/app_list_item_model_observer.h"
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 29 matching lines...) Expand all
40 40
41 protected: 41 protected:
42 // AppListItemModelObserver overrides: 42 // AppListItemModelObserver overrides:
43 virtual void ItemIconChanged() OVERRIDE; 43 virtual void ItemIconChanged() OVERRIDE;
44 virtual void ItemTitleChanged() OVERRIDE; 44 virtual void ItemTitleChanged() OVERRIDE;
45 45
46 // views::View overrides: 46 // views::View overrides:
47 virtual std::string GetClassName() const OVERRIDE; 47 virtual std::string GetClassName() const OVERRIDE;
48 virtual gfx::Size GetPreferredSize() OVERRIDE; 48 virtual gfx::Size GetPreferredSize() OVERRIDE;
49 virtual void Layout() OVERRIDE; 49 virtual void Layout() OVERRIDE;
50 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 50 virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
Ben Goodger (Google) 2012/03/02 20:35:11 This is the change I wanted you to avoid. Since y
tfarina 2012/03/02 20:57:21 The forward declaration "class Canvas;" conflicts
51 51
52 private: 52 private:
53 AppListItemModel* model_; 53 AppListItemModel* model_;
54 54
55 views::ImageView* icon_; 55 views::ImageView* icon_;
56 views::Label* title_; 56 views::Label* title_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(AppListItemView); 58 DISALLOW_COPY_AND_ASSIGN(AppListItemView);
59 }; 59 };
60 60
61 } // namespace ash 61 } // namespace ash
62 62
63 #endif // ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ 63 #endif // ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ash/app_list/drop_shadow_label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698