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

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: Cleanup. 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/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..d8e27dde74107e40949826bee2e64d75f2ba1a0b
--- /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 creatse context menu widgets for the shelf and wallpaper.
sky 2016/08/25 00:00:32 creatse -> creates
msw 2016/08/25 00:25:14 Done.
+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_

Powered by Google App Engine
This is Rietveld 408576698