Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 2589493006: Revert of Enable connection to Mojo services from Blink (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/platform/DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698