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/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); | 76 virtual const unsigned char* getTraceCategoryEnabledFlag( |
| 77 const char* category_name); |
77 virtual int addTraceEvent( | 78 virtual int addTraceEvent( |
78 char phase, | 79 char phase, |
79 const unsigned char* category_enabled, | 80 const unsigned char* category_enabled, |
80 const char* name, | 81 const char* name, |
81 unsigned long long id, | 82 unsigned long long id, |
82 int num_args, | 83 int num_args, |
83 const char** arg_names, | 84 const char** arg_names, |
84 const unsigned char* arg_types, | 85 const unsigned char* arg_types, |
85 const unsigned long long* arg_values, | 86 const unsigned long long* arg_values, |
86 int threshold_begin_id, | 87 int threshold_begin_id, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 void (*shared_timer_func_)(); | 156 void (*shared_timer_func_)(); |
156 double shared_timer_fire_time_; | 157 double shared_timer_fire_time_; |
157 int shared_timer_suspended_; // counter | 158 int shared_timer_suspended_; // counter |
158 WebThemeEngineImpl theme_engine_; | 159 WebThemeEngineImpl theme_engine_; |
159 base::ThreadLocalStorage::Slot current_thread_slot_; | 160 base::ThreadLocalStorage::Slot current_thread_slot_; |
160 }; | 161 }; |
161 | 162 |
162 } // namespace webkit_glue | 163 } // namespace webkit_glue |
163 | 164 |
164 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ | 165 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ |
OLD | NEW |