| 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_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ | 
| 6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 81   virtual TraceEventHandle addTraceEvent( | 81   virtual TraceEventHandle addTraceEvent( | 
| 82       char phase, | 82       char phase, | 
| 83       const unsigned char* category_group_enabled, | 83       const unsigned char* category_group_enabled, | 
| 84       const char* name, | 84       const char* name, | 
| 85       unsigned long long id, | 85       unsigned long long id, | 
| 86       int num_args, | 86       int num_args, | 
| 87       const char** arg_names, | 87       const char** arg_names, | 
| 88       const unsigned char* arg_types, | 88       const unsigned char* arg_types, | 
| 89       const unsigned long long* arg_values, | 89       const unsigned long long* arg_values, | 
| 90       unsigned char flags); | 90       unsigned char flags); | 
| 91   // TODO(wangxianzhu): Remove this function after transition to the new one. |  | 
| 92   virtual void updateTraceEventDuration(TraceEventHandle); |  | 
| 93   virtual void updateTraceEventDuration( | 91   virtual void updateTraceEventDuration( | 
| 94       const unsigned char* category_group_enabled, | 92       const unsigned char* category_group_enabled, | 
| 95       const char* name, | 93       const char* name, | 
| 96       TraceEventHandle); | 94       TraceEventHandle); | 
| 97   virtual blink::WebData loadResource(const char* name); | 95   virtual blink::WebData loadResource(const char* name); | 
| 98   virtual blink::WebString queryLocalizedString( | 96   virtual blink::WebString queryLocalizedString( | 
| 99       blink::WebLocalizedString::Name name); | 97       blink::WebLocalizedString::Name name); | 
| 100   virtual blink::WebString queryLocalizedString( | 98   virtual blink::WebString queryLocalizedString( | 
| 101       blink::WebLocalizedString::Name name, int numeric_value); | 99       blink::WebLocalizedString::Name name, int numeric_value); | 
| 102   virtual blink::WebString queryLocalizedString( | 100   virtual blink::WebString queryLocalizedString( | 
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 149   base::OneShotTimer<WebKitPlatformSupportImpl> shared_timer_; | 147   base::OneShotTimer<WebKitPlatformSupportImpl> shared_timer_; | 
| 150   void (*shared_timer_func_)(); | 148   void (*shared_timer_func_)(); | 
| 151   double shared_timer_fire_time_; | 149   double shared_timer_fire_time_; | 
| 152   bool shared_timer_fire_time_was_set_while_suspended_; | 150   bool shared_timer_fire_time_was_set_while_suspended_; | 
| 153   int shared_timer_suspended_;  // counter | 151   int shared_timer_suspended_;  // counter | 
| 154 }; | 152 }; | 
| 155 | 153 | 
| 156 }  // namespace webkit_glue | 154 }  // namespace webkit_glue | 
| 157 | 155 | 
| 158 #endif  // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ | 156 #endif  // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ | 
| OLD | NEW | 
|---|