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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 class WebMediaStreamCenterClient; | 78 class WebMediaStreamCenterClient; |
79 class WebMessagePortChannel; | 79 class WebMessagePortChannel; |
80 class WebMimeRegistry; | 80 class WebMimeRegistry; |
81 class WebPluginListBuilder; | 81 class WebPluginListBuilder; |
82 class WebPrescientNetworking; | 82 class WebPrescientNetworking; |
83 class WebPublicSuffixList; | 83 class WebPublicSuffixList; |
84 class WebRTCPeerConnectionHandler; | 84 class WebRTCPeerConnectionHandler; |
85 class WebRTCPeerConnectionHandlerClient; | 85 class WebRTCPeerConnectionHandlerClient; |
86 class WebSandboxSupport; | 86 class WebSandboxSupport; |
87 class WebScreenOrientationListener; | 87 class WebScreenOrientationListener; |
| 88 class WebScrollbarBehavior; |
88 class WebSocketHandle; | 89 class WebSocketHandle; |
89 class WebSocketStreamHandle; | 90 class WebSocketStreamHandle; |
90 class WebSpeechSynthesizer; | 91 class WebSpeechSynthesizer; |
91 class WebSpeechSynthesizerClient; | 92 class WebSpeechSynthesizerClient; |
92 class WebStorageNamespace; | 93 class WebStorageNamespace; |
93 struct WebFloatPoint; | 94 struct WebFloatPoint; |
94 class WebThemeEngine; | 95 class WebThemeEngine; |
95 class WebThread; | 96 class WebThread; |
96 class WebURL; | 97 class WebURL; |
97 class WebURLLoader; | 98 class WebURLLoader; |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 // Returns true on success. | 395 // Returns true on success. |
395 virtual bool loadAudioResource(WebAudioBus* destinationBus, const char* audi
oFileData, size_t dataSize, double sampleRate) { return false; } | 396 virtual bool loadAudioResource(WebAudioBus* destinationBus, const char* audi
oFileData, size_t dataSize, double sampleRate) { return false; } |
396 | 397 |
397 | 398 |
398 // Screen ------------------------------------------------------------- | 399 // Screen ------------------------------------------------------------- |
399 | 400 |
400 // Supplies the system monitor color profile. | 401 // Supplies the system monitor color profile. |
401 virtual void screenColorProfile(WebVector<char>* profile) { } | 402 virtual void screenColorProfile(WebVector<char>* profile) { } |
402 | 403 |
403 | 404 |
| 405 // Scrollbar ---------------------------------------------------------- |
| 406 |
| 407 // Must return non-null. |
| 408 virtual WebScrollbarBehavior* scrollbarBehavior() { return 0; } |
| 409 |
| 410 |
404 // Sudden Termination -------------------------------------------------- | 411 // Sudden Termination -------------------------------------------------- |
405 | 412 |
406 // Disable/Enable sudden termination. | 413 // Disable/Enable sudden termination. |
407 virtual void suddenTerminationChanged(bool enabled) { } | 414 virtual void suddenTerminationChanged(bool enabled) { } |
408 | 415 |
409 | 416 |
410 // System -------------------------------------------------------------- | 417 // System -------------------------------------------------------------- |
411 | 418 |
412 // Returns a value such as "en-US". | 419 // Returns a value such as "en-US". |
413 virtual WebString defaultLocale() { return WebString(); } | 420 virtual WebString defaultLocale() { return WebString(); } |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 virtual WebDatabaseObserver* databaseObserver() { return 0; } | 639 virtual WebDatabaseObserver* databaseObserver() { return 0; } |
633 | 640 |
634 | 641 |
635 protected: | 642 protected: |
636 virtual ~Platform() { } | 643 virtual ~Platform() { } |
637 }; | 644 }; |
638 | 645 |
639 } // namespace blink | 646 } // namespace blink |
640 | 647 |
641 #endif | 648 #endif |
OLD | NEW |