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

Unified Diff: ash/common/wallpaper/wallpaper_view.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 10 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 | « ash/common/wallpaper/wallpaper_delegate.h ('k') | ash/common/wallpaper/wallpaper_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wallpaper/wallpaper_view.h
diff --git a/ash/common/wallpaper/wallpaper_view.h b/ash/common/wallpaper/wallpaper_view.h
deleted file mode 100644
index 1377057d4c330ba593f97a1c34f8455a9d25d396..0000000000000000000000000000000000000000
--- a/ash/common/wallpaper/wallpaper_view.h
+++ /dev/null
@@ -1,43 +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 ASH_COMMON_WALLPAPER_WALLPAPER_VIEW_H_
-#define ASH_COMMON_WALLPAPER_WALLPAPER_VIEW_H_
-
-#include <memory>
-
-#include "ui/views/context_menu_controller.h"
-#include "ui/views/view.h"
-
-namespace ash {
-
-class PreEventDispatchHandler;
-class WmWindow;
-
-class WallpaperView : public views::View, public views::ContextMenuController {
- public:
- WallpaperView();
- ~WallpaperView() override;
-
- private:
- friend class WallpaperControllerTest;
-
- // Overridden from views::View:
- void OnPaint(gfx::Canvas* canvas) override;
- bool OnMousePressed(const ui::MouseEvent& event) override;
-
- // Overridden from views::ContextMenuController:
- void ShowContextMenuForView(views::View* source,
- const gfx::Point& point,
- ui::MenuSourceType source_type) override;
- std::unique_ptr<PreEventDispatchHandler> pre_dispatch_handler_;
-
- DISALLOW_COPY_AND_ASSIGN(WallpaperView);
-};
-
-views::Widget* CreateWallpaper(WmWindow* root_window, int container_id);
-
-} // namespace ash
-
-#endif // ASH_COMMON_WALLPAPER_WALLPAPER_VIEW_H_
« no previous file with comments | « ash/common/wallpaper/wallpaper_delegate.h ('k') | ash/common/wallpaper/wallpaper_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698