OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CLIENT_IMPL_H_ | 5 #ifndef WEBKIT_CLIENT_IMPL_H_ |
6 #define WEBKIT_CLIENT_IMPL_H_ | 6 #define WEBKIT_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
9 #include "base/timer.h" | 9 #include "base/timer.h" |
10 #include "third_party/WebKit/WebKit/chromium/public/WebKitClient.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebKitClient.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 45 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
46 virtual void decrementStatsCounter(const char* name); | 46 virtual void decrementStatsCounter(const char* name); |
47 virtual void incrementStatsCounter(const char* name); | 47 virtual void incrementStatsCounter(const char* name); |
48 virtual void histogramCustomCounts( | 48 virtual void histogramCustomCounts( |
49 const char* name, int sample, int min, int max, int bucket_count); | 49 const char* name, int sample, int min, int max, int bucket_count); |
50 virtual void histogramEnumeration( | 50 virtual void histogramEnumeration( |
51 const char* name, int sample, int boundary_value); | 51 const char* name, int sample, int boundary_value); |
52 virtual void traceEventBegin(const char* name, void* id, const char* extra); | 52 virtual void traceEventBegin(const char* name, void* id, const char* extra); |
53 virtual void traceEventEnd(const char* name, void* id, const char* extra); | 53 virtual void traceEventEnd(const char* name, void* id, const char* extra); |
54 virtual WebKit::WebData loadResource(const char* name); | 54 virtual WebKit::WebData loadResource(const char* name); |
| 55 virtual bool loadAudioResource( |
| 56 WebKit::WebAudioBus* destination_bus, const char* audio_file_data, |
| 57 size_t data_size, double sample_rate); |
55 virtual WebKit::WebString queryLocalizedString( | 58 virtual WebKit::WebString queryLocalizedString( |
56 WebKit::WebLocalizedString::Name name); | 59 WebKit::WebLocalizedString::Name name); |
57 virtual WebKit::WebString queryLocalizedString( | 60 virtual WebKit::WebString queryLocalizedString( |
58 WebKit::WebLocalizedString::Name name, int numeric_value); | 61 WebKit::WebLocalizedString::Name name, int numeric_value); |
59 virtual WebKit::WebString queryLocalizedString( | 62 virtual WebKit::WebString queryLocalizedString( |
60 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); | 63 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); |
61 virtual WebKit::WebString queryLocalizedString( | 64 virtual WebKit::WebString queryLocalizedString( |
62 WebKit::WebLocalizedString::Name name, | 65 WebKit::WebLocalizedString::Name name, |
63 const WebKit::WebString& value1, const WebKit::WebString& value2); | 66 const WebKit::WebString& value1, const WebKit::WebString& value2); |
64 virtual void suddenTerminationChanged(bool enabled) { } | 67 virtual void suddenTerminationChanged(bool enabled) { } |
(...skipping 19 matching lines...) Expand all Loading... |
84 int shared_timer_suspended_; // counter | 87 int shared_timer_suspended_; // counter |
85 | 88 |
86 #if defined(OS_WIN) || defined(OS_LINUX) | 89 #if defined(OS_WIN) || defined(OS_LINUX) |
87 WebThemeEngineImpl theme_engine_; | 90 WebThemeEngineImpl theme_engine_; |
88 #endif | 91 #endif |
89 }; | 92 }; |
90 | 93 |
91 } // namespace webkit_glue | 94 } // namespace webkit_glue |
92 | 95 |
93 #endif // WEBKIT_CLIENT_IMPL_H_ | 96 #endif // WEBKIT_CLIENT_IMPL_H_ |
OLD | NEW |