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

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

Issue 423303004: Change WokerThread to use a blink::WebThread (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove changes made to WebThread. 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*) { }
600 602
601 // WebCrypto ---------------------------------------------------------- 603 // WebCrypto ----------------------------------------------------------
602 604
603 virtual WebCrypto* crypto() { return 0; } 605 virtual WebCrypto* crypto() { return 0; }
604 606
605 607
606 // Device Motion / Orientation / Light ------------------------------------- --- 608 // Device Motion / Orientation / Light ------------------------------------- ---
607 609
608 // Sets a Listener to listen for device motion data updates. 610 // Sets a Listener to listen for device motion data updates.
609 // If null, the platform stops providing device motion data to the current l istener. 611 // 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
641 virtual WebNotificationPresenter* notificationPresenter() { return 0; } 643 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
642 644
643 645
644 protected: 646 protected:
645 virtual ~Platform() { } 647 virtual ~Platform() { }
646 }; 648 };
647 649
648 } // namespace blink 650 } // namespace blink
649 651
650 #endif 652 #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