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

Unified Diff: base/message_loop/message_pump_win.h

Issue 2573953002: Remove MessagePumpForGpu (Closed)
Patch Set: Created 4 years 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 | « base/message_loop/message_loop_unittest.cc ('k') | base/message_loop/message_pump_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_pump_win.h
diff --git a/base/message_loop/message_pump_win.h b/base/message_loop/message_pump_win.h
index f6683e7c5474c174df46277aa3d922cf4649093d..f8a8557014b855f6e174890c0bdbcee93b0608ae 100644
--- a/base/message_loop/message_pump_win.h
+++ b/base/message_loop/message_pump_win.h
@@ -140,39 +140,6 @@ class BASE_EXPORT MessagePumpForUI : public MessagePumpWin {
};
//-----------------------------------------------------------------------------
-// MessagePumpForGpu is a simplified version of UI message pump that is
-// optimized for the GPU process. Unlike MessagePumpForUI it doesn't have a
-// hidden window and doesn't handle a situation where a native message pump
-// might take over message processing.
-//
-class BASE_EXPORT MessagePumpForGpu : public MessagePumpWin {
- public:
- MessagePumpForGpu();
- ~MessagePumpForGpu() override;
-
- // Factory methods.
- static void InitFactory();
- static std::unique_ptr<MessagePump> CreateMessagePumpForGpu();
-
- // MessagePump methods:
- void ScheduleWork() override;
- void ScheduleDelayedWork(const TimeTicks& delayed_work_time) override;
-
- private:
- // MessagePumpWin methods:
- void DoRunLoop() override;
-
- void WaitForWork();
- bool ProcessNextMessage();
-
- win::ScopedHandle event_;
-
- // Used to help diagnose hangs.
- // TODO(stanisc): crbug.com/596190: Remove these once the bug is fixed.
- TimeTicks last_set_event_timeticks_;
-};
-
-//-----------------------------------------------------------------------------
// MessagePumpForIO extends MessagePumpWin with methods that are particular to a
// MessageLoop instantiated with TYPE_IO. This version of MessagePump does not
// deal with Windows mesagges, and instead has a Run loop based on Completion
« no previous file with comments | « base/message_loop/message_loop_unittest.cc ('k') | base/message_loop/message_pump_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698