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

Unified Diff: ui/aura_shell/modality_event_filter_delegate.h

Issue 8574033: Beginnings of Window Modality support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « ui/aura_shell/modality_event_filter.cc ('k') | ui/aura_shell/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/modality_event_filter_delegate.h
===================================================================
--- ui/aura_shell/modality_event_filter_delegate.h (revision 0)
+++ ui/aura_shell/modality_event_filter_delegate.h (revision 0)
@@ -0,0 +1,27 @@
+// Copyright (c) 2011 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 UI_AURA_SHELL_MODALITY_EVENT_FILTER_DELEGATE_H_
+#define UI_AURA_SHELL_MODALITY_EVENT_FILTER_DELEGATE_H_
+#pragma once
+
+#include "ui/aura_shell/aura_shell_export.h"
+
+namespace aura {
+class Window;
+}
+
+namespace aura_shell {
+namespace internal {
+
+class AURA_SHELL_EXPORT ModalityEventFilterDelegate {
+ public:
+ // Returns true if |window| can receive the specified event.
+ virtual bool CanWindowReceiveEvents(aura::Window* window) = 0;
+};
+
+} // namespace internal
+} // namespace aura_shell
+
+#endif // UI_AURA_SHELL_MODALITY_EVENT_FILTER_DELEGATE_H_
Property changes on: ui\aura_shell\modality_event_filter_delegate.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « ui/aura_shell/modality_event_filter.cc ('k') | ui/aura_shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698