Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Side by Side Diff: webkit/glue/webkitplatformsupport_impl.h

Issue 13084005: Add WebAudio impulse responses Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add WebAudio impulse responses Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/content_shell.gypi ('k') | webkit/glue/webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/content_shell.gypi ('k') | webkit/glue/webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698