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