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

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

Issue 1915373002: Implement empty WorkerInternals interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trials-in-service-workers
Patch Set: forward declare v8 types and pass by const-ref Created 4 years, 7 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 57
58 class GrContext; 58 class GrContext;
59 59
60 namespace v8 {
61 class Context;
62 template<class T> class Local;
63 }
64
60 namespace blink { 65 namespace blink {
61 66
62 class ServiceRegistry; 67 class ServiceRegistry;
63 class WebAudioBus; 68 class WebAudioBus;
64 class WebBlobRegistry; 69 class WebBlobRegistry;
65 class WebCanvasCaptureHandler; 70 class WebCanvasCaptureHandler;
66 class WebClipboard; 71 class WebClipboard;
67 class WebCompositorSupport; 72 class WebCompositorSupport;
68 class WebCookieJar; 73 class WebCookieJar;
69 class WebCrypto; 74 class WebCrypto;
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 616
612 617
613 // Background Sync API------------------------------------------------------ ------ 618 // Background Sync API------------------------------------------------------ ------
614 619
615 virtual WebSyncProvider* backgroundSyncProvider() { return nullptr; } 620 virtual WebSyncProvider* backgroundSyncProvider() { return nullptr; }
616 621
617 // Experimental Framework ---------------------------------------------- 622 // Experimental Framework ----------------------------------------------
618 623
619 virtual WebTrialTokenValidator* trialTokenValidator() { return nullptr; } 624 virtual WebTrialTokenValidator* trialTokenValidator() { return nullptr; }
620 625
626 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { }
kinuko 2016/05/09 12:00:15 nit: should this rather be listed in the block com
627
621 protected: 628 protected:
622 Platform(); 629 Platform();
623 virtual ~Platform() { } 630 virtual ~Platform() { }
624 631
625 WebThread* m_mainThread; 632 WebThread* m_mainThread;
626 }; 633 };
627 634
628 } // namespace blink 635 } // namespace blink
629 636
630 #endif 637 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebTestingSupport.cpp ('k') | third_party/WebKit/public/web/WebTestingSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698