| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 class WebFlingAnimator; | 59 class WebFlingAnimator; |
| 60 class WebGestureCurveTarget; | 60 class WebGestureCurveTarget; |
| 61 class WebGestureCurve; | 61 class WebGestureCurve; |
| 62 class WebGraphicsContext3DProvider; | 62 class WebGraphicsContext3DProvider; |
| 63 class WebMimeRegistry; | 63 class WebMimeRegistry; |
| 64 class WebPublicSuffixList; | 64 class WebPublicSuffixList; |
| 65 class WebSandboxSupport; | 65 class WebSandboxSupport; |
| 66 class WebScrollbarBehavior; | 66 class WebScrollbarBehavior; |
| 67 struct WebFloatPoint; | 67 struct WebFloatPoint; |
| 68 class WebThemeEngine; | 68 class WebThemeEngine; |
| 69 class WebThread; | |
| 70 class WebURL; | 69 class WebURL; |
| 71 class WebURLLoader; | 70 class WebURLLoader; |
| 72 class WebUnitTestSupport; | 71 class WebUnitTestSupport; |
| 73 class WebWaitableEvent; | 72 class WebWaitableEvent; |
| 74 struct WebLocalizedString; | 73 struct WebLocalizedString; |
| 75 struct WebSize; | 74 struct WebSize; |
| 76 | 75 |
| 77 class Platform { | 76 class Platform { |
| 78 public: | 77 public: |
| 79 // HTML5 Database ------------------------------------------------------ | 78 // HTML5 Database ------------------------------------------------------ |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 190 |
| 192 | 191 |
| 193 // Resources ----------------------------------------------------------- | 192 // Resources ----------------------------------------------------------- |
| 194 | 193 |
| 195 // Returns a localized string resource (with substitution parameters). | 194 // Returns a localized string resource (with substitution parameters). |
| 196 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We
bString(); } | 195 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We
bString(); } |
| 197 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter) { return WebString(); } | 196 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter) { return WebString(); } |
| 198 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter1, const WebString& parameter2) { return WebString(); } | 197 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter1, const WebString& parameter2) { return WebString(); } |
| 199 | 198 |
| 200 | 199 |
| 201 // Threads ------------------------------------------------------- | |
| 202 | |
| 203 // Returns an interface to the current thread. This is owned by the | |
| 204 // embedder. | |
| 205 virtual WebThread* currentThread() { return 0; } | |
| 206 | |
| 207 | |
| 208 // WaitableEvent ------------------------------------------------------- | 200 // WaitableEvent ------------------------------------------------------- |
| 209 | 201 |
| 210 // Creates an embedder-defined waitable event object. | 202 // Creates an embedder-defined waitable event object. |
| 211 virtual WebWaitableEvent* createWaitableEvent() { return 0; } | 203 virtual WebWaitableEvent* createWaitableEvent() { return 0; } |
| 212 | 204 |
| 213 // Waits on multiple events and returns the event object that has been | 205 // Waits on multiple events and returns the event object that has been |
| 214 // signaled. This may return 0 if it fails to wait events. | 206 // signaled. This may return 0 if it fails to wait events. |
| 215 // Any event objects given to this method must not deleted while this | 207 // Any event objects given to this method must not deleted while this |
| 216 // wait is happening. | 208 // wait is happening. |
| 217 virtual WebWaitableEvent* waitMultipleEvents(const WebVector<WebWaitableEven
t*>& events) { return 0; } | 209 virtual WebWaitableEvent* waitMultipleEvents(const WebVector<WebWaitableEven
t*>& events) { return 0; } |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 // longer notify the listener, if any. | 425 // longer notify the listener, if any. |
| 434 virtual void stopListening(WebPlatformEventType type) { } | 426 virtual void stopListening(WebPlatformEventType type) { } |
| 435 | 427 |
| 436 protected: | 428 protected: |
| 437 virtual ~Platform() { } | 429 virtual ~Platform() { } |
| 438 }; | 430 }; |
| 439 | 431 |
| 440 } // namespace blink | 432 } // namespace blink |
| 441 | 433 |
| 442 #endif | 434 #endif |
| OLD | NEW |