| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "WebSize.h" | 49 #include "WebSize.h" |
| 50 #include "WebSpeechSynthesizer.h" | 50 #include "WebSpeechSynthesizer.h" |
| 51 #include "WebStorageQuotaCallbacks.h" | 51 #include "WebStorageQuotaCallbacks.h" |
| 52 #include "WebStorageQuotaType.h" | 52 #include "WebStorageQuotaType.h" |
| 53 #include "WebString.h" | 53 #include "WebString.h" |
| 54 #include "WebURLError.h" | 54 #include "WebURLError.h" |
| 55 #include "WebVector.h" | 55 #include "WebVector.h" |
| 56 #include "base/metrics/user_metrics_action.h" | 56 #include "base/metrics/user_metrics_action.h" |
| 57 #include "cc/resources/shared_bitmap.h" | 57 #include "cc/resources/shared_bitmap.h" |
| 58 #include "cc/surfaces/frame_sink_id.h" | 58 #include "cc/surfaces/frame_sink_id.h" |
| 59 #include "services/service_manager/public/interfaces/connector.mojom-blink.h" | |
| 60 | 59 |
| 61 namespace gpu { | 60 namespace gpu { |
| 62 class GpuMemoryBufferManager; | 61 class GpuMemoryBufferManager; |
| 63 } | 62 } |
| 64 | 63 |
| 65 namespace v8 { | 64 namespace v8 { |
| 66 class Context; | 65 class Context; |
| 67 template <class T> | 66 template <class T> |
| 68 class Local; | 67 class Local; |
| 69 } | 68 } |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 } | 597 } |
| 599 | 598 |
| 600 // WebCrypto ---------------------------------------------------------- | 599 // WebCrypto ---------------------------------------------------------- |
| 601 | 600 |
| 602 virtual WebCrypto* crypto() { return nullptr; } | 601 virtual WebCrypto* crypto() { return nullptr; } |
| 603 | 602 |
| 604 // Mojo --------------------------------------------------------------- | 603 // Mojo --------------------------------------------------------------- |
| 605 | 604 |
| 606 virtual InterfaceProvider* interfaceProvider(); | 605 virtual InterfaceProvider* interfaceProvider(); |
| 607 | 606 |
| 608 virtual void bindServiceConnector( | |
| 609 service_manager::mojom::blink::ConnectorRequest); | |
| 610 | |
| 611 // Platform events ----------------------------------------------------- | 607 // Platform events ----------------------------------------------------- |
| 612 // Device Orientation, Device Motion, Device Light, Battery, Gamepad. | 608 // Device Orientation, Device Motion, Device Light, Battery, Gamepad. |
| 613 | 609 |
| 614 // Request the platform to start listening to the events of the specified | 610 // Request the platform to start listening to the events of the specified |
| 615 // type and notify the given listener (if not null) when there is an update. | 611 // type and notify the given listener (if not null) when there is an update. |
| 616 virtual void startListening(WebPlatformEventType type, | 612 virtual void startListening(WebPlatformEventType type, |
| 617 WebPlatformEventListener* listener) {} | 613 WebPlatformEventListener* listener) {} |
| 618 | 614 |
| 619 // Request the platform to stop listening to the specified event and no | 615 // Request the platform to stop listening to the specified event and no |
| 620 // longer notify the listener, if any. | 616 // longer notify the listener, if any. |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 protected: | 675 protected: |
| 680 Platform(); | 676 Platform(); |
| 681 virtual ~Platform() {} | 677 virtual ~Platform() {} |
| 682 | 678 |
| 683 WebThread* m_mainThread; | 679 WebThread* m_mainThread; |
| 684 }; | 680 }; |
| 685 | 681 |
| 686 } // namespace blink | 682 } // namespace blink |
| 687 | 683 |
| 688 #endif | 684 #endif |
| OLD | NEW |