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" | |
Sam McNally
2016/12/20 07:29:38
We shouldn't exposing blink-variant mojoms outside
blundell
2016/12/20 07:39:43
Can you elaborate? I understand that in general, t
Sam McNally
2016/12/20 08:57:18
Blink variants of mojoms include WTF types. Using
blundell
2016/12/20 09:01:57
Got it, thanks. In making this change, I'll also b
| |
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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
597 } | 598 } |
598 | 599 |
599 // WebCrypto ---------------------------------------------------------- | 600 // WebCrypto ---------------------------------------------------------- |
600 | 601 |
601 virtual WebCrypto* crypto() { return nullptr; } | 602 virtual WebCrypto* crypto() { return nullptr; } |
602 | 603 |
603 // Mojo --------------------------------------------------------------- | 604 // Mojo --------------------------------------------------------------- |
604 | 605 |
605 virtual InterfaceProvider* interfaceProvider(); | 606 virtual InterfaceProvider* interfaceProvider(); |
606 | 607 |
608 virtual void bindServiceConnector( | |
609 service_manager::mojom::blink::ConnectorRequest); | |
610 | |
607 // Platform events ----------------------------------------------------- | 611 // Platform events ----------------------------------------------------- |
608 // Device Orientation, Device Motion, Device Light, Battery, Gamepad. | 612 // Device Orientation, Device Motion, Device Light, Battery, Gamepad. |
609 | 613 |
610 // Request the platform to start listening to the events of the specified | 614 // Request the platform to start listening to the events of the specified |
611 // type and notify the given listener (if not null) when there is an update. | 615 // type and notify the given listener (if not null) when there is an update. |
612 virtual void startListening(WebPlatformEventType type, | 616 virtual void startListening(WebPlatformEventType type, |
613 WebPlatformEventListener* listener) {} | 617 WebPlatformEventListener* listener) {} |
614 | 618 |
615 // Request the platform to stop listening to the specified event and no | 619 // Request the platform to stop listening to the specified event and no |
616 // longer notify the listener, if any. | 620 // longer notify the listener, if any. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
675 protected: | 679 protected: |
676 Platform(); | 680 Platform(); |
677 virtual ~Platform() {} | 681 virtual ~Platform() {} |
678 | 682 |
679 WebThread* m_mainThread; | 683 WebThread* m_mainThread; |
680 }; | 684 }; |
681 | 685 |
682 } // namespace blink | 686 } // namespace blink |
683 | 687 |
684 #endif | 688 #endif |
OLD | NEW |