Index: base/message_loop/message_loop.h |
diff --git a/base/message_loop/message_loop.h b/base/message_loop/message_loop.h |
index b9517c450ee80e929e8e06e75f80a76f70a4bb4e..8e73d42b1e278dac9f68a58eeb1a01af84f6149e 100644 |
--- a/base/message_loop/message_loop.h |
+++ b/base/message_loop/message_loop.h |
@@ -375,16 +375,6 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate { |
void AddTaskObserver(TaskObserver* task_observer); |
void RemoveTaskObserver(TaskObserver* task_observer); |
-#if defined(OS_WIN) |
- void set_os_modal_loop(bool os_modal_loop) { |
- os_modal_loop_ = os_modal_loop; |
- } |
- |
- bool os_modal_loop() const { |
- return os_modal_loop_; |
- } |
-#endif // OS_WIN |
- |
// Can only be called from the thread that owns the MessageLoop. |
bool is_running() const; |
@@ -523,12 +513,6 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate { |
// insider a (accidentally induced?) nested message pump. |
bool nestable_tasks_allowed_; |
-#if defined(OS_WIN) |
- // Should be set to true before calling Windows APIs like TrackPopupMenu, etc. |
- // which enter a modal message loop. |
- bool os_modal_loop_; |
-#endif |
- |
// pump_factory_.Run() is called to create a message pump for this loop |
// if type_ is TYPE_CUSTOM and pump_ is null. |
MessagePumpFactoryCallback pump_factory_; |