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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, |
106 size_t data_size, double sample_rate); | 106 size_t data_size, double sample_rate); |
| 107 #if defined(OS_ANDROID) |
| 108 virtual const char* loadAudioAsset(const char* audio_file_data); |
| 109 #endif |
107 virtual WebKit::WebString queryLocalizedString( | 110 virtual WebKit::WebString queryLocalizedString( |
108 WebKit::WebLocalizedString::Name name); | 111 WebKit::WebLocalizedString::Name name); |
109 virtual WebKit::WebString queryLocalizedString( | 112 virtual WebKit::WebString queryLocalizedString( |
110 WebKit::WebLocalizedString::Name name, int numeric_value); | 113 WebKit::WebLocalizedString::Name name, int numeric_value); |
111 virtual WebKit::WebString queryLocalizedString( | 114 virtual WebKit::WebString queryLocalizedString( |
112 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); | 115 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); |
113 virtual WebKit::WebString queryLocalizedString( | 116 virtual WebKit::WebString queryLocalizedString( |
114 WebKit::WebLocalizedString::Name name, | 117 WebKit::WebLocalizedString::Name name, |
115 const WebKit::WebString& value1, const WebKit::WebString& value2); | 118 const WebKit::WebString& value1, const WebKit::WebString& value2); |
116 virtual void suddenTerminationChanged(bool enabled) { } | 119 virtual void suddenTerminationChanged(bool enabled) { } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 int shared_timer_suspended_; // counter | 188 int shared_timer_suspended_; // counter |
186 WebThemeEngineImpl theme_engine_; | 189 WebThemeEngineImpl theme_engine_; |
187 base::ThreadLocalStorage::Slot current_thread_slot_; | 190 base::ThreadLocalStorage::Slot current_thread_slot_; |
188 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_; | 191 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_; |
189 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 192 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
190 }; | 193 }; |
191 | 194 |
192 } // namespace webkit_glue | 195 } // namespace webkit_glue |
193 | 196 |
194 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ | 197 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ |
OLD | NEW |