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

Unified Diff: ash/container_delegate_aura.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/container_delegate.h ('k') | ash/container_delegate_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/container_delegate_aura.h
diff --git a/ash/container_delegate_aura.h b/ash/container_delegate_aura.h
new file mode 100644
index 0000000000000000000000000000000000000000..a23845c74ce47df15f11a854c95536622e026db0
--- /dev/null
+++ b/ash/container_delegate_aura.h
@@ -0,0 +1,34 @@
+// 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_CONTAINER_DELEGATE_AURA_H_
+#define ASH_CONTAINER_DELEGATE_AURA_H_
+
+#include "ash/ash_export.h"
+#include "ash/container_delegate.h"
+#include "base/macros.h"
+
+namespace views {
+class Widget;
+}
+
+namespace ash {
+
+// The ash::ContainerDelegate implementation for classic ash.
+class ASH_EXPORT ContainerDelegateAura : public ContainerDelegate {
+ public:
+ ContainerDelegateAura();
+ ~ContainerDelegateAura() override;
+
+ // ContainerDelegate:
+ bool IsInMenuContainer(views::Widget* widget) override;
+ bool IsInStatusContainer(views::Widget* widget) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ContainerDelegateAura);
+};
+
+} // namespace ash
+
+#endif // ASH_CONTAINER_DELEGATE_AURA_H_
« no previous file with comments | « ash/container_delegate.h ('k') | ash/container_delegate_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698