mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 129376.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@579 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -30,13 +30,20 @@ class CefThreadMessageLoopProxy : public MessageLoopProxy {
|
||||
: id_(identifier) {
|
||||
}
|
||||
|
||||
// MessageLoopProxy implementation.
|
||||
// TaskRunner implementation.
|
||||
virtual bool PostDelayedTask(const tracked_objects::Location& from_here,
|
||||
const base::Closure& task,
|
||||
int64 delay_ms) OVERRIDE {
|
||||
return CefThread::PostDelayedTask(id_, from_here, task, delay_ms);
|
||||
}
|
||||
|
||||
virtual bool PostDelayedTask(const tracked_objects::Location& from_here,
|
||||
const base::Closure& task,
|
||||
base::TimeDelta delay) OVERRIDE {
|
||||
return CefThread::PostDelayedTask(id_, from_here, task, delay);
|
||||
}
|
||||
|
||||
// SequencedTaskRunner implementation.
|
||||
virtual bool PostNonNestableDelayedTask(
|
||||
const tracked_objects::Location& from_here,
|
||||
const base::Closure& task,
|
||||
@@ -45,6 +52,13 @@ class CefThreadMessageLoopProxy : public MessageLoopProxy {
|
||||
delay_ms);
|
||||
}
|
||||
|
||||
virtual bool PostNonNestableDelayedTask(
|
||||
const tracked_objects::Location& from_here,
|
||||
const base::Closure& task,
|
||||
base::TimeDelta delay) OVERRIDE {
|
||||
return CefThread::PostNonNestableDelayedTask(id_, from_here, task, delay);
|
||||
}
|
||||
|
||||
virtual bool RunsTasksOnCurrentThread() const OVERRIDE {
|
||||
return CefThread::CurrentlyOn(id_);
|
||||
}
|
||||
@@ -150,6 +164,15 @@ bool CefThread::PostDelayedTask(ID identifier,
|
||||
return PostTaskHelper(identifier, from_here, task, delay_ms, true);
|
||||
}
|
||||
|
||||
// static
|
||||
bool CefThread::PostDelayedTask(ID identifier,
|
||||
const tracked_objects::Location& from_here,
|
||||
const base::Closure& task,
|
||||
base::TimeDelta delay) {
|
||||
return PostTaskHelper(identifier, from_here, task, delay.InMilliseconds(),
|
||||
true);
|
||||
}
|
||||
|
||||
// static
|
||||
bool CefThread::PostNonNestableTask(
|
||||
ID identifier,
|
||||
@@ -167,6 +190,16 @@ bool CefThread::PostNonNestableDelayedTask(
|
||||
return PostTaskHelper(identifier, from_here, task, delay_ms, false);
|
||||
}
|
||||
|
||||
// static
|
||||
bool CefThread::PostNonNestableDelayedTask(
|
||||
ID identifier,
|
||||
const tracked_objects::Location& from_here,
|
||||
const base::Closure& task,
|
||||
base::TimeDelta delay) {
|
||||
return PostTaskHelper(identifier, from_here, task, delay.InMilliseconds(),
|
||||
false);
|
||||
}
|
||||
|
||||
// static
|
||||
bool CefThread::GetCurrentThreadIdentifier(ID* identifier) {
|
||||
MessageLoop* cur_message_loop = MessageLoop::current();
|
||||
|
Reference in New Issue
Block a user