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

Unified Diff: ui/views/widget/desktop_aura/desktop_dispatcher_client.h

Issue 192743007: Use the default dispatcher where possible for nested message loops. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert change in SimpleMessageBoxViews. Created 6 years, 9 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: ui/views/widget/desktop_aura/desktop_dispatcher_client.h
diff --git a/ui/views/widget/desktop_aura/desktop_dispatcher_client.h b/ui/views/widget/desktop_aura/desktop_dispatcher_client.h
index b59f4da2027779879bec7e87f6b29ababbcfc611..1af8f94e4fcabbc58553db1054ed8e52198587f6 100644
--- a/ui/views/widget/desktop_aura/desktop_dispatcher_client.h
+++ b/ui/views/widget/desktop_aura/desktop_dispatcher_client.h
@@ -6,6 +6,7 @@
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_
#include "base/basictypes.h"
+#include "base/callback.h"
#include "ui/aura/client/dispatcher_client.h"
#include "ui/views/views_export.h"
@@ -20,8 +21,11 @@ class VIEWS_EXPORT DesktopDispatcherClient
virtual void RunWithDispatcher(base::MessagePumpDispatcher* dispatcher,
aura::Window* associated_window) OVERRIDE;
+ virtual void QuitNestedMessageLoop() OVERRIDE;
private:
+ base::Closure quit_closure_;
+
DISALLOW_COPY_AND_ASSIGN(DesktopDispatcherClient);
};
« no previous file with comments | « ui/views/controls/menu/menu_controller.cc ('k') | ui/views/widget/desktop_aura/desktop_dispatcher_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698