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

Unified Diff: ash/mus/native_widget_factory_mus.h

Issue 2271373002: mash: Port mojo:ash_sysui's ContextMenuMus to mojo:ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments 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
« no previous file with comments | « ash/mus/context_menu_mus.cc ('k') | ash/mus/native_widget_factory_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/native_widget_factory_mus.h
diff --git a/ash/mus/native_widget_factory_mus.h b/ash/mus/native_widget_factory_mus.h
new file mode 100644
index 0000000000000000000000000000000000000000..d1767226dee134f6dd2fbecd3f3a442a054759d0
--- /dev/null
+++ b/ash/mus/native_widget_factory_mus.h
@@ -0,0 +1,29 @@
+// Copyright 2016 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_MUS_NATIVE_WIDGET_FACTORY_MUS_H_
+#define ASH_MUS_NATIVE_WIDGET_FACTORY_MUS_H_
+
+#include "base/macros.h"
+
+namespace ash {
+namespace mus {
+
+class WindowManager;
+
+// A native widget factory used for widgets in the ash system UI itself.
+// For example, this creates context menu widgets for the shelf and wallpaper.
+class NativeWidgetFactoryMus {
+ public:
+ explicit NativeWidgetFactoryMus(WindowManager* window_manager);
+ ~NativeWidgetFactoryMus();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(NativeWidgetFactoryMus);
+};
+
+} // namespace mus
+} // namespace ash
+
+#endif // ASH_MUS_NATIVE_WIDGET_FACTORY_MUS_H_
« no previous file with comments | « ash/mus/context_menu_mus.cc ('k') | ash/mus/native_widget_factory_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698