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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual size_t lowMemoryUsageMB() OVERRIDE; | 76 virtual size_t lowMemoryUsageMB() OVERRIDE; |
77 virtual size_t highMemoryUsageMB() OVERRIDE; | 77 virtual size_t highMemoryUsageMB() OVERRIDE; |
78 virtual size_t highUsageDeltaMB() OVERRIDE; | 78 virtual size_t highUsageDeltaMB() OVERRIDE; |
79 #endif | 79 #endif |
80 virtual bool processMemorySizesInBytes(size_t* private_bytes, | 80 virtual bool processMemorySizesInBytes(size_t* private_bytes, |
81 size_t* shared_bytes); | 81 size_t* shared_bytes); |
82 virtual bool memoryAllocatorWasteInBytes(size_t* size); | 82 virtual bool memoryAllocatorWasteInBytes(size_t* size); |
83 virtual WebKit::WebURLLoader* createURLLoader(); | 83 virtual WebKit::WebURLLoader* createURLLoader(); |
84 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); | 84 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); |
85 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 85 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
| 86 virtual int cancelledErrorCode() const; |
86 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 87 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
87 virtual void decrementStatsCounter(const char* name); | 88 virtual void decrementStatsCounter(const char* name); |
88 virtual void incrementStatsCounter(const char* name); | 89 virtual void incrementStatsCounter(const char* name); |
89 virtual void histogramCustomCounts( | 90 virtual void histogramCustomCounts( |
90 const char* name, int sample, int min, int max, int bucket_count); | 91 const char* name, int sample, int min, int max, int bucket_count); |
91 virtual void histogramEnumeration( | 92 virtual void histogramEnumeration( |
92 const char* name, int sample, int boundary_value); | 93 const char* name, int sample, int boundary_value); |
93 virtual const unsigned char* getTraceCategoryEnabledFlag( | 94 virtual const unsigned char* getTraceCategoryEnabledFlag( |
94 const char* category_name); | 95 const char* category_name); |
95 virtual long* getTraceSamplingState(const unsigned thread_bucket); | 96 virtual long* getTraceSamplingState(const unsigned thread_bucket); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 int shared_timer_suspended_; // counter | 193 int shared_timer_suspended_; // counter |
193 WebThemeEngineImpl theme_engine_; | 194 WebThemeEngineImpl theme_engine_; |
194 base::ThreadLocalStorage::Slot current_thread_slot_; | 195 base::ThreadLocalStorage::Slot current_thread_slot_; |
195 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_; | 196 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_; |
196 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 197 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
197 }; | 198 }; |
198 | 199 |
199 } // namespace webkit_glue | 200 } // namespace webkit_glue |
200 | 201 |
201 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ | 202 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ |
OLD | NEW |