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

Unified Diff: ash/desktop_background/desktop_background_view.h

Issue 2200893002: mash: Partially migrate ash/desktop_background to ash common types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mash browser test crash in GetMaxDisplaySizeInNative. Created 4 years, 4 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
Index: ash/desktop_background/desktop_background_view.h
diff --git a/ash/desktop_background/desktop_background_view.h b/ash/desktop_background/desktop_background_view.h
index fdb2106db2803b869ab6357cf6a532ba72166290..7d2335c427d8c5d39120847417ad4a82830c7954 100644
--- a/ash/desktop_background/desktop_background_view.h
+++ b/ash/desktop_background/desktop_background_view.h
@@ -7,15 +7,13 @@
#include <memory>
-#include "base/macros.h"
-#include "ui/events/event.h"
-#include "ui/gfx/image/image_skia.h"
#include "ui/views/context_menu_controller.h"
#include "ui/views/view.h"
namespace ash {
class PreEventDispatchHandler;
+class WmWindow;
class DesktopBackgroundView : public views::View,
public views::ContextMenuController {
@@ -39,6 +37,8 @@ class DesktopBackgroundView : public views::View,
DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundView);
};
+views::Widget* CreateDesktopBackground(WmWindow* root_window, int container_id);
+
} // namespace ash
#endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_
« no previous file with comments | « ash/desktop_background/desktop_background_controller_unittest.cc ('k') | ash/desktop_background/desktop_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698