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