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

Side by Side Diff: webkit/api/public/WebKitClient.h

Issue 342064: Fixed style nits. (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « no previous file | webkit/api/public/WebSharedWorker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 // In some browsers, a "sandbox" restricts what operations a program 219 // In some browsers, a "sandbox" restricts what operations a program
220 // is allowed to preform. Such operations are typically abstracted out 220 // is allowed to preform. Such operations are typically abstracted out
221 // via this API, but sometimes (like in HTML 5 database opening) WebKit 221 // via this API, but sometimes (like in HTML 5 database opening) WebKit
222 // needs to behave differently based on whether it's restricted or not. 222 // needs to behave differently based on whether it's restricted or not.
223 // In these cases (and these cases only) you can call this function. 223 // In these cases (and these cases only) you can call this function.
224 // It's OK for this value to be conservitive (i.e. true even if the 224 // It's OK for this value to be conservitive (i.e. true even if the
225 // sandbox isn't active). 225 // sandbox isn't active).
226 virtual bool sandboxEnabled() = 0; 226 virtual bool sandboxEnabled() = 0;
227 227
228
228 // Shared Workers ------------------------------------------------------ 229 // Shared Workers ------------------------------------------------------
230
229 virtual WebSharedWorkerRepository* sharedWorkerRepository() = 0; 231 virtual WebSharedWorkerRepository* sharedWorkerRepository() = 0;
230 232
231 // Sudden Termination -------------------------------------------------- 233 // Sudden Termination --------------------------------------------------
232 234
233 // Disable/Enable sudden termination. 235 // Disable/Enable sudden termination.
234 virtual void suddenTerminationChanged(bool enabled) = 0; 236 virtual void suddenTerminationChanged(bool enabled) = 0;
235 237
236 238
237 // System -------------------------------------------------------------- 239 // System --------------------------------------------------------------
238 240
(...skipping 11 matching lines...) Expand all
250 // Callable from a background WebKit thread. 252 // Callable from a background WebKit thread.
251 virtual void callOnMainThread(void (*func)()) = 0; 253 virtual void callOnMainThread(void (*func)()) = 0;
252 254
253 protected: 255 protected:
254 ~WebKitClient() { } 256 ~WebKitClient() { }
255 }; 257 };
256 258
257 } // namespace WebKit 259 } // namespace WebKit
258 260
259 #endif 261 #endif
OLDNEW
« no previous file with comments | « no previous file | webkit/api/public/WebSharedWorker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698