summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 02:58:59 +0000
committerccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 02:58:59 +0000
commit826aab00c6fdd9435e8cc65823e15df4d4cb9e38 (patch)
tree62e607dfe0bfedfc554c3a743a779202a664206e /base
parent31aa39ddb62a29bbff6b7073a71d2f513c6e06d7 (diff)
downloadchromium_src-826aab00c6fdd9435e8cc65823e15df4d4cb9e38.zip
chromium_src-826aab00c6fdd9435e8cc65823e15df4d4cb9e38.tar.gz
chromium_src-826aab00c6fdd9435e8cc65823e15df4d4cb9e38.tar.bz2
Change the GPU process to use a CFRunLoop
This is necessary for CAContext sharing (determined empirically, as that API is undocumented). BUG=312462 Review URL: https://codereview.chromium.org/279163005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270309 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/message_loop/message_pump_mac.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/message_loop/message_pump_mac.h b/base/message_loop/message_pump_mac.h
index a1e91e0..afdd7d1 100644
--- a/base/message_loop/message_pump_mac.h
+++ b/base/message_loop/message_pump_mac.h
@@ -219,7 +219,7 @@ class MessagePumpCFRunLoopBase : public MessagePump {
DISALLOW_COPY_AND_ASSIGN(MessagePumpCFRunLoopBase);
};
-class MessagePumpCFRunLoop : public MessagePumpCFRunLoopBase {
+class BASE_EXPORT MessagePumpCFRunLoop : public MessagePumpCFRunLoopBase {
public:
MessagePumpCFRunLoop();
virtual ~MessagePumpCFRunLoop();
@@ -238,9 +238,9 @@ class MessagePumpCFRunLoop : public MessagePumpCFRunLoopBase {
DISALLOW_COPY_AND_ASSIGN(MessagePumpCFRunLoop);
};
-class MessagePumpNSRunLoop : public MessagePumpCFRunLoopBase {
+class BASE_EXPORT MessagePumpNSRunLoop : public MessagePumpCFRunLoopBase {
public:
- BASE_EXPORT MessagePumpNSRunLoop();
+ MessagePumpNSRunLoop();
virtual ~MessagePumpNSRunLoop();
virtual void DoRun(Delegate* delegate) OVERRIDE;
@@ -317,7 +317,7 @@ class MessagePumpCrApplication : public MessagePumpNSApplication {
};
#endif // !defined(OS_IOS)
-class MessagePumpMac {
+class BASE_EXPORT MessagePumpMac {
public:
// If not on the main thread, returns a new instance of
// MessagePumpNSRunLoop.
@@ -335,11 +335,11 @@ class MessagePumpMac {
// UsingCrApp() returns false if the message pump was created before
// NSApp was initialized, or if NSApp does not implement
// CrAppProtocol. NSApp must be initialized before calling.
- BASE_EXPORT static bool UsingCrApp();
+ static bool UsingCrApp();
// Wrapper to query -[NSApp isHandlingSendEvent] from C++ code.
// Requires NSApp to implement CrAppProtocol.
- BASE_EXPORT static bool IsHandlingSendEvent();
+ static bool IsHandlingSendEvent();
#endif // !defined(OS_IOS)
private: