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

Side by Side Diff: ash/desktop_background/desktop_background_view.h

Issue 11415015: Remove use of index in wallpaper picker code and some refactor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser tests Created 8 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 | Annotate | Revision Log
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_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ 5 #ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_
6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ 6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_
7 7
8 #include "ash/desktop_background/desktop_background_resources.h"
9 #include "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
10 #include "ui/views/context_menu_controller.h" 9 #include "ui/views/context_menu_controller.h"
11 #include "ui/views/view.h" 10 #include "ui/views/view.h"
12 #include "ui/views/widget/widget_delegate.h" 11 #include "ui/views/widget/widget_delegate.h"
13 12
14 namespace ash { 13 namespace ash {
15 namespace internal { 14 namespace internal {
16 15
17 class DesktopBackgroundView : public views::WidgetDelegateView, 16 class DesktopBackgroundView : public views::WidgetDelegateView,
18 public views::ContextMenuController { 17 public views::ContextMenuController {
(...skipping 10 matching lines...) Expand all
29 virtual void ShowContextMenuForView(views::View* source, 28 virtual void ShowContextMenuForView(views::View* source,
30 const gfx::Point& point) OVERRIDE; 29 const gfx::Point& point) OVERRIDE;
31 30
32 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundView); 31 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundView);
33 }; 32 };
34 33
35 } // namespace internal 34 } // namespace internal
36 } // namespace ash 35 } // namespace ash
37 36
38 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ 37 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_
OLDNEW
« no previous file with comments | « ash/desktop_background/desktop_background_resources.cc ('k') | ash/desktop_background/desktop_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698