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

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

Issue 432673003: Revert of Change WokerThread to use a blink::WebThread (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebWorkerRunLoop.cpp ('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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 590
591 // May return null if WebRTC functionality is not avaliable or out of resour ces. 591 // May return null if WebRTC functionality is not avaliable or out of resour ces.
592 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; } 592 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; }
593 593
594 594
595 // WebWorker ---------------------------------------------------------- 595 // WebWorker ----------------------------------------------------------
596 596
597 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } 597 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { }
598 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } 598 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { }
599 599
600 virtual void didStartWorkerThread(WebThread*) { }
601 virtual void didStopWorkerThread(WebThread*) { }
602 600
603 // WebCrypto ---------------------------------------------------------- 601 // WebCrypto ----------------------------------------------------------
604 602
605 virtual WebCrypto* crypto() { return 0; } 603 virtual WebCrypto* crypto() { return 0; }
606 604
607 605
608 // Device Motion / Orientation / Light ------------------------------------- --- 606 // Device Motion / Orientation / Light ------------------------------------- ---
609 607
610 // Sets a Listener to listen for device motion data updates. 608 // Sets a Listener to listen for device motion data updates.
611 // If null, the platform stops providing device motion data to the current l istener. 609 // If null, the platform stops providing device motion data to the current l istener.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 virtual WebNotificationPresenter* notificationPresenter() { return 0; } 641 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
644 642
645 643
646 protected: 644 protected:
647 virtual ~Platform() { } 645 virtual ~Platform() { }
648 }; 646 };
649 647
650 } // namespace blink 648 } // namespace blink
651 649
652 #endif 650 #endif
OLDNEW
« no previous file with comments | « Source/web/WebWorkerRunLoop.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698