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

Side by Side Diff: webkit/glue/webkitplatformsupport_impl.h

Issue 16096016: Expose parseDataURL to Platform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « no previous file | webkit/glue/webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 5 #ifndef WEBKIT_PLATFORM_SUPPORT_IMPL_H_
6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual size_t lowMemoryUsageMB() OVERRIDE; 78 virtual size_t lowMemoryUsageMB() OVERRIDE;
79 virtual size_t highMemoryUsageMB() OVERRIDE; 79 virtual size_t highMemoryUsageMB() OVERRIDE;
80 virtual size_t highUsageDeltaMB() OVERRIDE; 80 virtual size_t highUsageDeltaMB() OVERRIDE;
81 #endif 81 #endif
82 virtual bool processMemorySizesInBytes(size_t* private_bytes, 82 virtual bool processMemorySizesInBytes(size_t* private_bytes,
83 size_t* shared_bytes); 83 size_t* shared_bytes);
84 virtual bool memoryAllocatorWasteInBytes(size_t* size); 84 virtual bool memoryAllocatorWasteInBytes(size_t* size);
85 virtual WebKit::WebURLLoader* createURLLoader(); 85 virtual WebKit::WebURLLoader* createURLLoader();
86 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); 86 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle();
87 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); 87 virtual WebKit::WebString userAgent(const WebKit::WebURL& url);
88 WebKit::WebData parseDataURL(
89 const WebKit::WebURL&, WebKit::WebString&, WebKit::WebString&);
jamesr 2013/06/07 17:49:19 this is chromium style, all parameters should have
88 virtual WebKit::WebURLError cancelledError(const WebKit::WebURL& url) const; 90 virtual WebKit::WebURLError cancelledError(const WebKit::WebURL& url) const;
89 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); 91 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*);
90 virtual void decrementStatsCounter(const char* name); 92 virtual void decrementStatsCounter(const char* name);
91 virtual void incrementStatsCounter(const char* name); 93 virtual void incrementStatsCounter(const char* name);
92 virtual void histogramCustomCounts( 94 virtual void histogramCustomCounts(
93 const char* name, int sample, int min, int max, int bucket_count); 95 const char* name, int sample, int min, int max, int bucket_count);
94 virtual void histogramEnumeration( 96 virtual void histogramEnumeration(
95 const char* name, int sample, int boundary_value); 97 const char* name, int sample, int boundary_value);
96 virtual const unsigned char* getTraceCategoryEnabledFlag( 98 virtual const unsigned char* getTraceCategoryEnabledFlag(
97 const char* category_name); 99 const char* category_name);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 int shared_timer_suspended_; // counter 192 int shared_timer_suspended_; // counter
191 WebThemeEngineImpl native_theme_engine_; 193 WebThemeEngineImpl native_theme_engine_;
192 WebFallbackThemeEngineImpl fallback_theme_engine_; 194 WebFallbackThemeEngineImpl fallback_theme_engine_;
193 base::ThreadLocalStorage::Slot current_thread_slot_; 195 base::ThreadLocalStorage::Slot current_thread_slot_;
194 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; 196 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_;
195 }; 197 };
196 198
197 } // namespace webkit_glue 199 } // namespace webkit_glue
198 200
199 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 201 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698