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

Side by Side Diff: webkit/glue/webthread_impl.h

Issue 12356002: [NOT FOR COMMIT] Hacks to merge render compositor thread with UI thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef WEBKIT_GLUE_WEBTHREAD_IMPL_H_ 4 #ifndef WEBKIT_GLUE_WEBTHREAD_IMPL_H_
5 #define WEBKIT_GLUE_WEBTHREAD_IMPL_H_ 5 #define WEBKIT_GLUE_WEBTHREAD_IMPL_H_
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/threading/thread.h" 9 #include "base/threading/thread.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 WEBKIT_GLUE_EXPORT explicit WebThreadImplForMessageLoop( 55 WEBKIT_GLUE_EXPORT explicit WebThreadImplForMessageLoop(
56 base::MessageLoopProxy* message_loop); 56 base::MessageLoopProxy* message_loop);
57 WEBKIT_GLUE_EXPORT virtual ~WebThreadImplForMessageLoop(); 57 WEBKIT_GLUE_EXPORT virtual ~WebThreadImplForMessageLoop();
58 58
59 virtual void postTask(Task* task); 59 virtual void postTask(Task* task);
60 virtual void postDelayedTask(Task* task, long long delay_ms); 60 virtual void postDelayedTask(Task* task, long long delay_ms);
61 61
62 virtual void enterRunLoop(); 62 virtual void enterRunLoop();
63 virtual void exitRunLoop(); 63 virtual void exitRunLoop();
64 64
65 scoped_refptr<base::MessageLoopProxy> message_loop_proxy() const { return mess age_loop_; }
66
65 private: 67 private:
66 virtual bool IsCurrentThread() const OVERRIDE; 68 virtual bool IsCurrentThread() const OVERRIDE;
67 scoped_refptr<base::MessageLoopProxy> message_loop_; 69 scoped_refptr<base::MessageLoopProxy> message_loop_;
68 }; 70 };
69 71
70 } // namespace webkit_glue 72 } // namespace webkit_glue
71 73
72 #endif 74 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698