| 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& url, WebKit::WebString& mimetype, |
| 90 WebKit::WebString& charset); |
| 88 virtual WebKit::WebURLError cancelledError(const WebKit::WebURL& url) const; | 91 virtual WebKit::WebURLError cancelledError(const WebKit::WebURL& url) const; |
| 89 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 92 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
| 90 virtual void decrementStatsCounter(const char* name); | 93 virtual void decrementStatsCounter(const char* name); |
| 91 virtual void incrementStatsCounter(const char* name); | 94 virtual void incrementStatsCounter(const char* name); |
| 92 virtual void histogramCustomCounts( | 95 virtual void histogramCustomCounts( |
| 93 const char* name, int sample, int min, int max, int bucket_count); | 96 const char* name, int sample, int min, int max, int bucket_count); |
| 94 virtual void histogramEnumeration( | 97 virtual void histogramEnumeration( |
| 95 const char* name, int sample, int boundary_value); | 98 const char* name, int sample, int boundary_value); |
| 96 virtual const unsigned char* getTraceCategoryEnabledFlag( | 99 virtual const unsigned char* getTraceCategoryEnabledFlag( |
| 97 const char* category_name); | 100 const char* category_name); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 int shared_timer_suspended_; // counter | 193 int shared_timer_suspended_; // counter |
| 191 WebThemeEngineImpl native_theme_engine_; | 194 WebThemeEngineImpl native_theme_engine_; |
| 192 WebFallbackThemeEngineImpl fallback_theme_engine_; | 195 WebFallbackThemeEngineImpl fallback_theme_engine_; |
| 193 base::ThreadLocalStorage::Slot current_thread_slot_; | 196 base::ThreadLocalStorage::Slot current_thread_slot_; |
| 194 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 197 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
| 195 }; | 198 }; |
| 196 | 199 |
| 197 } // namespace webkit_glue | 200 } // namespace webkit_glue |
| 198 | 201 |
| 199 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ | 202 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ |
| OLD | NEW |