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

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

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 class WebGestureCurve; 69 class WebGestureCurve;
70 class WebGraphicsContext3DProvider; 70 class WebGraphicsContext3DProvider;
71 class WebIDBFactory; 71 class WebIDBFactory;
72 class WebMIDIAccessor; 72 class WebMIDIAccessor;
73 class WebMIDIAccessorClient; 73 class WebMIDIAccessorClient;
74 class WebMediaStreamCenter; 74 class WebMediaStreamCenter;
75 class WebMediaStreamCenterClient; 75 class WebMediaStreamCenterClient;
76 class WebMessagePortChannel; 76 class WebMessagePortChannel;
77 class WebMimeRegistry; 77 class WebMimeRegistry;
78 class WebPluginListBuilder; 78 class WebPluginListBuilder;
79 class WebPublicSuffixList;
79 class WebPrescientNetworking; 80 class WebPrescientNetworking;
80 class WebRTCPeerConnectionHandler; 81 class WebRTCPeerConnectionHandler;
81 class WebRTCPeerConnectionHandlerClient; 82 class WebRTCPeerConnectionHandlerClient;
82 class WebSandboxSupport; 83 class WebSandboxSupport;
83 class WebSocketHandle; 84 class WebSocketHandle;
84 class WebSocketStreamHandle; 85 class WebSocketStreamHandle;
85 class WebSpeechSynthesizer; 86 class WebSpeechSynthesizer;
86 class WebSpeechSynthesizerClient; 87 class WebSpeechSynthesizerClient;
87 class WebStorageNamespace; 88 class WebStorageNamespace;
88 class WebStorageQuotaCallbacks; 89 class WebStorageQuotaCallbacks;
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError (); } 328 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError (); }
328 329
329 330
330 // Plugins ------------------------------------------------------------- 331 // Plugins -------------------------------------------------------------
331 332
332 // If refresh is true, then cached information should not be used to 333 // If refresh is true, then cached information should not be used to
333 // satisfy this call. 334 // satisfy this call.
334 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } 335 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { }
335 336
336 337
338 // Public Suffix List --------------------------------------------------
339
340 // May return NULL on some platforms.
341 virtual WebPublicSuffixList* publicSuffixList() { return 0; }
342
abarth-chromium 2013/11/05 06:47:29 Two blank lines between sections pls.
337 // Resources ----------------------------------------------------------- 343 // Resources -----------------------------------------------------------
338 344
339 // Returns a localized string resource (with substitution parameters). 345 // Returns a localized string resource (with substitution parameters).
340 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We bString(); } 346 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We bString(); }
341 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt ring& parameter) { return WebString(); } 347 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt ring& parameter) { return WebString(); }
342 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt ring& parameter1, const WebString& parameter2) { return WebString(); } 348 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt ring& parameter1, const WebString& parameter2) { return WebString(); }
343 349
344 350
345 // Threads ------------------------------------------------------- 351 // Threads -------------------------------------------------------
346 352
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 WebStorageQuotaType, 602 WebStorageQuotaType,
597 WebStorageQuotaCallbacks*) { } 603 WebStorageQuotaCallbacks*) { }
598 604
599 protected: 605 protected:
600 virtual ~Platform() { } 606 virtual ~Platform() { }
601 }; 607 };
602 608
603 } // namespace WebKit 609 } // namespace WebKit
604 610
605 #endif 611 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698