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

Side by Side Diff: webkit/support/webkit_support.h

Issue 3298003: webkit_support: Add PostDelayedTask(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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
« no previous file with comments | « no previous file | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 4
5 #ifndef WEBKIT_SUPPORT_WEBIT_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_WEBIT_SUPPORT_H_
6 #define WEBKIT_SUPPORT_WEBIT_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_WEBIT_SUPPORT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 // -------- Message loop and task 99 // -------- Message loop and task
100 void RunMessageLoop(); 100 void RunMessageLoop();
101 void QuitMessageLoop(); 101 void QuitMessageLoop();
102 void RunAllPendingMessages(); 102 void RunAllPendingMessages();
103 void DispatchMessageLoop(); 103 void DispatchMessageLoop();
104 WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop* 104 WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop*
105 CreateDevToolsMessageLoop(); 105 CreateDevToolsMessageLoop();
106 void PostTaskFromHere(Task* task); // TODO(tkent): Eliminate Task. 106 void PostTaskFromHere(Task* task); // TODO(tkent): Eliminate Task.
107 void PostDelayedTaskFromHere(Task* task, int64 delay_ms); // ditto. 107 void PostDelayedTaskFromHere(Task* task, int64 delay_ms); // ditto.
108 void PostDelayedTask(void (*func)(void*), void* context, int64 delay_ms);
108 109
109 // -------- File path and PathService 110 // -------- File path and PathService
110 // Converts the specified path string to an absolute path in WebString. 111 // Converts the specified path string to an absolute path in WebString.
111 // |utf8_path| is in UTF-8 encoding, not native multibyte string. 112 // |utf8_path| is in UTF-8 encoding, not native multibyte string.
112 WebKit::WebString GetAbsoluteWebStringFromUTF8Path( 113 WebKit::WebString GetAbsoluteWebStringFromUTF8Path(
113 const std::string& utf8_path); 114 const std::string& utf8_path);
114 115
115 // Create a WebURL from the specified string. 116 // Create a WebURL from the specified string.
116 // If |path_or_url_in_nativemb| is a URL starting with scheme, this simply 117 // If |path_or_url_in_nativemb| is a URL starting with scheme, this simply
117 // returns a WebURL for it. Otherwise, this returns a file:// URL. 118 // returns a WebURL for it. Otherwise, this returns a file:// URL.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 VKEY_NEXT = base::VKEY_NEXT, 166 VKEY_NEXT = base::VKEY_NEXT,
166 VKEY_HOME = base::VKEY_HOME, 167 VKEY_HOME = base::VKEY_HOME,
167 VKEY_END = base::VKEY_END, 168 VKEY_END = base::VKEY_END,
168 VKEY_SNAPSHOT = base::VKEY_SNAPSHOT, 169 VKEY_SNAPSHOT = base::VKEY_SNAPSHOT,
169 VKEY_F1 = base::VKEY_F1, 170 VKEY_F1 = base::VKEY_F1,
170 }; 171 };
171 172
172 } // namespace webkit_support 173 } // namespace webkit_support
173 174
174 #endif // WEBKIT_SUPPORT_WEBIT_CLIENT_IMPL_H_ 175 #endif // WEBKIT_SUPPORT_WEBIT_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698