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

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

Issue 2196843003: Blink ServiceRegistry -> InterfaceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 class GrContext; 58 class GrContext;
59 59
60 namespace v8 { 60 namespace v8 {
61 class Context; 61 class Context;
62 template<class T> class Local; 62 template<class T> class Local;
63 } 63 }
64 64
65 namespace blink { 65 namespace blink {
66 66
67 class ServiceRegistry; 67 class InterfaceProvider;
68 class WebAudioBus; 68 class WebAudioBus;
69 class WebBlobRegistry; 69 class WebBlobRegistry;
70 class WebCanvasCaptureHandler; 70 class WebCanvasCaptureHandler;
71 class WebClipboard; 71 class WebClipboard;
72 class WebCompositorSupport; 72 class WebCompositorSupport;
73 class WebCookieJar; 73 class WebCookieJar;
74 class WebCrypto; 74 class WebCrypto;
75 class WebDatabaseObserver; 75 class WebDatabaseObserver;
76 class WebPlatformEventListener; 76 class WebPlatformEventListener;
77 class WebFallbackThemeEngine; 77 class WebFallbackThemeEngine;
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 virtual void willStopWorkerThread() { } 510 virtual void willStopWorkerThread() { }
511 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { } 511 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { }
512 virtual bool allowScriptExtensionForServiceWorker(const WebURL& scriptUrl) { return false; } 512 virtual bool allowScriptExtensionForServiceWorker(const WebURL& scriptUrl) { return false; }
513 513
514 // WebCrypto ---------------------------------------------------------- 514 // WebCrypto ----------------------------------------------------------
515 515
516 virtual WebCrypto* crypto() { return nullptr; } 516 virtual WebCrypto* crypto() { return nullptr; }
517 517
518 // Mojo --------------------------------------------------------------- 518 // Mojo ---------------------------------------------------------------
519 519
520 virtual ServiceRegistry* serviceRegistry(); 520 virtual InterfaceProvider* interfaceProvider();
521 521
522 // Platform events ----------------------------------------------------- 522 // Platform events -----------------------------------------------------
523 // Device Orientation, Device Motion, Device Light, Battery, Gamepad. 523 // Device Orientation, Device Motion, Device Light, Battery, Gamepad.
524 524
525 // Request the platform to start listening to the events of the specified 525 // Request the platform to start listening to the events of the specified
526 // type and notify the given listener (if not null) when there is an update. 526 // type and notify the given listener (if not null) when there is an update.
527 virtual void startListening(WebPlatformEventType type, WebPlatformEventListe ner* listener) { } 527 virtual void startListening(WebPlatformEventType type, WebPlatformEventListe ner* listener) { }
528 528
529 // Request the platform to stop listening to the specified event and no 529 // Request the platform to stop listening to the specified event and no
530 // longer notify the listener, if any. 530 // longer notify the listener, if any.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 protected: 593 protected:
594 Platform(); 594 Platform();
595 virtual ~Platform() { } 595 virtual ~Platform() { }
596 596
597 WebThread* m_mainThread; 597 WebThread* m_mainThread;
598 }; 598 };
599 599
600 } // namespace blink 600 } // namespace blink
601 601
602 #endif 602 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698