OLD | NEW |
---|---|
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 Loading... | |
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 Loading... | |
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_ |
OLD | NEW |