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

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

Issue 19401003: Revert "WebCrypto: Add SHA-1 support to crypto.subtle.digest()." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « public/README ('k') | public/platform/WebArrayBuffer.h » ('j') | 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class GrContext; 48 class GrContext;
49 49
50 namespace WebKit { 50 namespace WebKit {
51 51
52 class WebAudioBus; 52 class WebAudioBus;
53 class WebBlobRegistry; 53 class WebBlobRegistry;
54 class WebContentDecryptionModule; 54 class WebContentDecryptionModule;
55 class WebClipboard; 55 class WebClipboard;
56 class WebCompositorSupport; 56 class WebCompositorSupport;
57 class WebCookieJar; 57 class WebCookieJar;
58 class WebCrypto;
59 class WebDeviceMotionListener; 58 class WebDeviceMotionListener;
60 class WebDiscardableMemory; 59 class WebDiscardableMemory;
61 class WebFallbackThemeEngine; 60 class WebFallbackThemeEngine;
62 class WebFileSystem; 61 class WebFileSystem;
63 class WebFileUtilities; 62 class WebFileUtilities;
64 class WebFlingAnimator; 63 class WebFlingAnimator;
65 class WebGestureCurveTarget; 64 class WebGestureCurveTarget;
66 class WebGestureCurve; 65 class WebGestureCurve;
67 class WebGraphicsContext3DProvider; 66 class WebGraphicsContext3DProvider;
68 class WebHyphenator; 67 class WebHyphenator;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 287
289 // A wrapper for tcmalloc's HeapProfilerStart(); 288 // A wrapper for tcmalloc's HeapProfilerStart();
290 virtual void startHeapProfiling(const WebString& /*prefix*/) { } 289 virtual void startHeapProfiling(const WebString& /*prefix*/) { }
291 // A wrapper for tcmalloc's HeapProfilerStop(); 290 // A wrapper for tcmalloc's HeapProfilerStop();
292 virtual void stopHeapProfiling() { } 291 virtual void stopHeapProfiling() { }
293 // A wrapper for tcmalloc's HeapProfilerDump() 292 // A wrapper for tcmalloc's HeapProfilerDump()
294 virtual void dumpHeapProfiling(const WebString& /*reason*/) { } 293 virtual void dumpHeapProfiling(const WebString& /*reason*/) { }
295 // A wrapper for tcmalloc's GetHeapProfile() 294 // A wrapper for tcmalloc's GetHeapProfile()
296 virtual WebString getHeapProfile() { return WebString(); } 295 virtual WebString getHeapProfile() { return WebString(); }
297 296
298
299 // Message Ports ------------------------------------------------------- 297 // Message Ports -------------------------------------------------------
300 298
301 // Creates a Message Port Channel. This can be called on any thread. 299 // Creates a Message Port Channel. This can be called on any thread.
302 // The returned object should only be used on the thread it was created on. 300 // The returned object should only be used on the thread it was created on.
303 virtual WebMessagePortChannel* createMessagePortChannel() { return 0; } 301 virtual WebMessagePortChannel* createMessagePortChannel() { return 0; }
304 302
305 303
306 // Network ------------------------------------------------------------- 304 // Network -------------------------------------------------------------
307 305
308 // Returns a new WebURLLoader instance. 306 // Returns a new WebURLLoader instance.
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 virtual bool isThreadedCompositingEnabled() { return false; } 526 virtual bool isThreadedCompositingEnabled() { return false; }
529 527
530 virtual WebCompositorSupport* compositorSupport() { return 0; } 528 virtual WebCompositorSupport* compositorSupport() { return 0; }
531 529
532 virtual WebFlingAnimator* createFlingAnimator() { return 0; } 530 virtual WebFlingAnimator* createFlingAnimator() { return 0; }
533 531
534 // Creates a new fling animation curve instance for device |deviceSource| 532 // Creates a new fling animation curve instance for device |deviceSource|
535 // with |velocity| and already scrolled |cumulativeScroll| pixels. 533 // with |velocity| and already scrolled |cumulativeScroll| pixels.
536 virtual WebGestureCurve* createFlingAnimationCurve(int deviceSource, const W ebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0; } 534 virtual WebGestureCurve* createFlingAnimationCurve(int deviceSource, const W ebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0; }
537 535
538
539 // WebRTC ---------------------------------------------------------- 536 // WebRTC ----------------------------------------------------------
540 537
541 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. 538 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection.
542 // May return null if WebRTC functionality is not avaliable or out of resour ces. 539 // May return null if WebRTC functionality is not avaliable or out of resour ces.
543 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return 0; } 540 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return 0; }
544 541
545 // May return null if WebRTC functionality is not avaliable or out of resour ces. 542 // May return null if WebRTC functionality is not avaliable or out of resour ces.
546 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; } 543 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; }
547 544
548 545
549 // WebWorker ---------------------------------------------------------- 546 // WebWorker ----------------------------------------------------------
550 547
551 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } 548 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { }
552 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } 549 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { }
553 550
554 551
555 // WebCrypto ----------------------------------------------------------
556
557 // May return 0.
558 virtual WebCrypto* crypto() { return 0; }
559
560
561 // Device Motion / Orientation ---------------------------------------- 552 // Device Motion / Orientation ----------------------------------------
562 553
563 // Sets a Listener to listen for device motion data updates. 554 // Sets a Listener to listen for device motion data updates.
564 // If null, the platform stops providing device motion data to the current l istener. 555 // If null, the platform stops providing device motion data to the current l istener.
565 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } 556 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { }
566 557
567 protected: 558 protected:
568 virtual ~Platform() { } 559 virtual ~Platform() { }
569 }; 560 };
570 561
571 } // namespace WebKit 562 } // namespace WebKit
572 563
573 #endif 564 #endif
OLDNEW
« no previous file with comments | « public/README ('k') | public/platform/WebArrayBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698