OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/platform_file.h" | 9 #include "base/platform_file.h" |
10 #include "base/threading/thread_local_storage.h" | 10 #include "base/threading/thread_local_storage.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
66 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 66 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
67 virtual void decrementStatsCounter(const char* name); | 67 virtual void decrementStatsCounter(const char* name); |
68 virtual void incrementStatsCounter(const char* name); | 68 virtual void incrementStatsCounter(const char* name); |
69 virtual void histogramCustomCounts( | 69 virtual void histogramCustomCounts( |
70 const char* name, int sample, int min, int max, int bucket_count); | 70 const char* name, int sample, int min, int max, int bucket_count); |
71 virtual void histogramEnumeration( | 71 virtual void histogramEnumeration( |
72 const char* name, int sample, int boundary_value); | 72 const char* name, int sample, int boundary_value); |
73 virtual bool isTraceEventEnabled() const; | 73 virtual bool isTraceEventEnabled() const; |
74 virtual void traceEventBegin(const char* name, void* id, const char* extra); | 74 virtual void traceEventBegin(const char* name, void* id, const char* extra); |
75 virtual void traceEventEnd(const char* name, void* id, const char* extra); | 75 virtual void traceEventEnd(const char* name, void* id, const char* extra); |
76 virtual const unsigned char* getCategoryEnabled(const char* category_name); | |
77 virtual int addTraceEvent( | |
78 char phase, | |
79 const unsigned char* category_enabled, | |
80 const char* name, | |
81 unsigned long long id, | |
82 int num_args, | |
83 const char** arg_names, | |
84 const unsigned char* arg_types, | |
85 const unsigned long long* arg_values, | |
86 int threshold_begin_id, | |
87 long long threshold, | |
88 unsigned char flags); | |
89 virtual void addCounterEvent( | |
nduca
2012/01/13 22:40:41
Er, before this, is there any hope of folding coun
jbates
2012/01/13 23:56:03
Done.
| |
90 const unsigned char* category_enabled, | |
91 const char* name, | |
92 unsigned long long id, | |
93 const char* arg1_name, int arg1_val, | |
94 const char* arg2_name, int arg2_val, | |
95 unsigned char flags); | |
96 virtual unsigned long long getInterProcessID(void* pointer); | |
76 virtual WebKit::WebData loadResource(const char* name); | 97 virtual WebKit::WebData loadResource(const char* name); |
77 virtual bool loadAudioResource( | 98 virtual bool loadAudioResource( |
78 WebKit::WebAudioBus* destination_bus, const char* audio_file_data, | 99 WebKit::WebAudioBus* destination_bus, const char* audio_file_data, |
79 size_t data_size, double sample_rate); | 100 size_t data_size, double sample_rate); |
80 virtual WebKit::WebString queryLocalizedString( | 101 virtual WebKit::WebString queryLocalizedString( |
81 WebKit::WebLocalizedString::Name name); | 102 WebKit::WebLocalizedString::Name name); |
82 virtual WebKit::WebString queryLocalizedString( | 103 virtual WebKit::WebString queryLocalizedString( |
83 WebKit::WebLocalizedString::Name name, int numeric_value); | 104 WebKit::WebLocalizedString::Name name, int numeric_value); |
84 virtual WebKit::WebString queryLocalizedString( | 105 virtual WebKit::WebString queryLocalizedString( |
85 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); | 106 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
141 void (*shared_timer_func_)(); | 162 void (*shared_timer_func_)(); |
142 double shared_timer_fire_time_; | 163 double shared_timer_fire_time_; |
143 int shared_timer_suspended_; // counter | 164 int shared_timer_suspended_; // counter |
144 WebThemeEngineImpl theme_engine_; | 165 WebThemeEngineImpl theme_engine_; |
145 base::ThreadLocalStorage::Slot current_thread_slot_; | 166 base::ThreadLocalStorage::Slot current_thread_slot_; |
146 }; | 167 }; |
147 | 168 |
148 } // namespace webkit_glue | 169 } // namespace webkit_glue |
149 | 170 |
150 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ | 171 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ |
OLD | NEW |