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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual void incrementStatsCounter(const char* name); | 87 virtual void incrementStatsCounter(const char* name); |
88 virtual void histogramCustomCounts( | 88 virtual void histogramCustomCounts( |
89 const char* name, int sample, int min, int max, int bucket_count); | 89 const char* name, int sample, int min, int max, int bucket_count); |
90 virtual void histogramEnumeration( | 90 virtual void histogramEnumeration( |
91 const char* name, int sample, int boundary_value); | 91 const char* name, int sample, int boundary_value); |
92 virtual const unsigned char* getTraceCategoryEnabledFlag( | 92 virtual const unsigned char* getTraceCategoryEnabledFlag( |
93 const char* category_name); | 93 const char* category_name); |
94 virtual long* getTraceSamplingState(const unsigned thread_bucket); | 94 virtual long* getTraceSamplingState(const unsigned thread_bucket); |
95 virtual void addTraceEvent( | 95 virtual void addTraceEvent( |
96 char phase, | 96 char phase, |
97 const unsigned char* category_enabled, | 97 const unsigned char* category_group_enabled, |
98 const char* name, | 98 const char* name, |
99 unsigned long long id, | 99 unsigned long long id, |
100 int num_args, | 100 int num_args, |
101 const char** arg_names, | 101 const char** arg_names, |
102 const unsigned char* arg_types, | 102 const unsigned char* arg_types, |
103 const unsigned long long* arg_values, | 103 const unsigned long long* arg_values, |
104 unsigned char flags); | 104 unsigned char flags); |
105 virtual WebKit::WebData loadResource(const char* name); | 105 virtual WebKit::WebData loadResource(const char* name); |
106 virtual bool loadAudioResource( | 106 virtual bool loadAudioResource( |
107 WebKit::WebAudioBus* destination_bus, const char* audio_file_data, | 107 WebKit::WebAudioBus* destination_bus, const char* audio_file_data, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 int shared_timer_suspended_; // counter | 187 int shared_timer_suspended_; // counter |
188 WebThemeEngineImpl theme_engine_; | 188 WebThemeEngineImpl theme_engine_; |
189 base::ThreadLocalStorage::Slot current_thread_slot_; | 189 base::ThreadLocalStorage::Slot current_thread_slot_; |
190 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_; | 190 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_; |
191 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 191 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
192 }; | 192 }; |
193 | 193 |
194 } // namespace webkit_glue | 194 } // namespace webkit_glue |
195 | 195 |
196 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ | 196 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ |
OLD | NEW |