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 "mojo/public/cpp/system/message_pipe.h" |
59 | 60 |
60 namespace gpu { | 61 namespace gpu { |
61 class GpuMemoryBufferManager; | 62 class GpuMemoryBufferManager; |
62 } | 63 } |
63 | 64 |
64 namespace v8 { | 65 namespace v8 { |
65 class Context; | 66 class Context; |
66 template <class T> | 67 template <class T> |
67 class Local; | 68 class Local; |
68 } | 69 } |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 } | 584 } |
584 | 585 |
585 // WebCrypto ---------------------------------------------------------- | 586 // WebCrypto ---------------------------------------------------------- |
586 | 587 |
587 virtual WebCrypto* crypto() { return nullptr; } | 588 virtual WebCrypto* crypto() { return nullptr; } |
588 | 589 |
589 // Mojo --------------------------------------------------------------- | 590 // Mojo --------------------------------------------------------------- |
590 | 591 |
591 virtual InterfaceProvider* interfaceProvider(); | 592 virtual InterfaceProvider* interfaceProvider(); |
592 | 593 |
| 594 // Sets up a connection to the ServiceManager by binding |remoteHandle| to a |
| 595 // remote implementation of |
| 596 // //service_manager/public/interfaces/connector.mojom. Using this connection |
| 597 // the caller can then request connections to other services. |
| 598 // NOTE: This handle is not strongly typed because neither the Blink nor |
| 599 // Chromium types generated from connector.mojom should leak across the |
| 600 // Blink-Chromium boundary. |
| 601 virtual void bindServiceConnector(mojo::ScopedMessagePipeHandle remoteHandle); |
| 602 |
593 // Platform events ----------------------------------------------------- | 603 // Platform events ----------------------------------------------------- |
594 // Device Orientation, Device Motion, Device Light, Battery, Gamepad. | 604 // Device Orientation, Device Motion, Device Light, Battery, Gamepad. |
595 | 605 |
596 // Request the platform to start listening to the events of the specified | 606 // Request the platform to start listening to the events of the specified |
597 // type and notify the given listener (if not null) when there is an update. | 607 // type and notify the given listener (if not null) when there is an update. |
598 virtual void startListening(WebPlatformEventType type, | 608 virtual void startListening(WebPlatformEventType type, |
599 WebPlatformEventListener* listener) {} | 609 WebPlatformEventListener* listener) {} |
600 | 610 |
601 // Request the platform to stop listening to the specified event and no | 611 // Request the platform to stop listening to the specified event and no |
602 // longer notify the listener, if any. | 612 // longer notify the listener, if any. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 protected: | 671 protected: |
662 Platform(); | 672 Platform(); |
663 virtual ~Platform() {} | 673 virtual ~Platform() {} |
664 | 674 |
665 WebThread* m_mainThread; | 675 WebThread* m_mainThread; |
666 }; | 676 }; |
667 | 677 |
668 } // namespace blink | 678 } // namespace blink |
669 | 679 |
670 #endif | 680 #endif |
OLD | NEW |