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

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

Issue 12713004: Add Chromium-side changes for MediaSource::isTypeSupported() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 unsigned char* buffer, size_t length); 120 unsigned char* buffer, size_t length);
121 virtual void setSharedTimerFiredFunction(void (*func)()); 121 virtual void setSharedTimerFiredFunction(void (*func)());
122 virtual void setSharedTimerFireInterval(double interval_seconds); 122 virtual void setSharedTimerFireInterval(double interval_seconds);
123 virtual void stopSharedTimer(); 123 virtual void stopSharedTimer();
124 virtual void callOnMainThread(void (*func)(void*), void* context); 124 virtual void callOnMainThread(void (*func)(void*), void* context);
125 virtual WebKit::WebThread* createThread(const char* name); 125 virtual WebKit::WebThread* createThread(const char* name);
126 virtual WebKit::WebThread* currentThread(); 126 virtual WebKit::WebThread* currentThread();
127 virtual WebKit::WebCompositorSupport* compositorSupport(); 127 virtual WebKit::WebCompositorSupport* compositorSupport();
128 virtual WebKit::WebDiscardableMemory* allocateAndLockDiscardableMemory( 128 virtual WebKit::WebDiscardableMemory* allocateAndLockDiscardableMemory(
129 size_t bytes); 129 size_t bytes);
130 virtual bool isTypeSupportedForMediaSource(
darin (slow to review) 2013/03/14 00:14:01 Why isn't this a function on WebMIMERegistry?
acolwell GONE FROM CHROMIUM 2013/03/14 18:34:34 Done.
131 const WebKit::WebString& type,
132 const WebKit::WebVector<WebKit::WebString>& codecs);
130 133
131 134
132 // Embedder functions. The following are not implemented by the glue layer and 135 // Embedder functions. The following are not implemented by the glue layer and
133 // need to be specialized by the embedder. 136 // need to be specialized by the embedder.
134 137
135 // Gets a localized string given a message id. Returns an empty string if the 138 // Gets a localized string given a message id. Returns an empty string if the
136 // message id is not found. 139 // message id is not found.
137 virtual string16 GetLocalizedString(int message_id) = 0; 140 virtual string16 GetLocalizedString(int message_id) = 0;
138 141
139 // Returns the raw data for a resource. This resource must have been 142 // Returns the raw data for a resource. This resource must have been
(...skipping 45 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

Powered by Google App Engine
This is Rietveld 408576698