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

Unified Diff: ash/mus/container_delegate_mus.h

Issue 1949823002: WIP: Eliminate event.target() usage from TrayEventFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: container delegate Created 4 years, 7 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/BUILD.gn ('k') | ash/mus/container_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/container_delegate_mus.h
diff --git a/ash/mus/container_delegate_mus.h b/ash/mus/container_delegate_mus.h
new file mode 100644
index 0000000000000000000000000000000000000000..737c28859c9b564ee456676c4bc8c2b21c81284a
--- /dev/null
+++ b/ash/mus/container_delegate_mus.h
@@ -0,0 +1,31 @@
+// 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_CONTAINER_DELEGATE_MUS_H_
+#define ASH_MUS_CONTAINER_DELEGATE_MUS_H_
+
+#include "ash/container_delegate.h"
+#include "base/macros.h"
+
+namespace ash {
+namespace sysui {
+
+// See ash::ContainerDelegate.
+class ContainerDelegateMus : public ash::ContainerDelegate {
+ public:
+ ContainerDelegateMus();
+ ~ContainerDelegateMus() override;
+
+ // ash::ContainerDelegate:
+ bool IsInMenuContainer(views::Widget* widget) override;
+ bool IsInStatusContainer(views::Widget* widget) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ContainerDelegateMus);
+};
+
+} // namespace sysui
+} // namespace ash
+
+#endif // ASH_MUS_CONTAINER_DELEGATE_MUS_H_
« no previous file with comments | « ash/mus/BUILD.gn ('k') | ash/mus/container_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698