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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 191093002: Simplify the user agent code some more since after r255534 it's not affected by the site's URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: patchset 15 which works Created 6 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 CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.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 blink::WebAudioBus* destination_bus, const char* audio_file_data, 120 blink::WebAudioBus* destination_bus, const char* audio_file_data,
121 size_t data_size, double sample_rate); 121 size_t data_size, double sample_rate);
122 122
123 virtual blink::WebContentDecryptionModule* createContentDecryptionModule( 123 virtual blink::WebContentDecryptionModule* createContentDecryptionModule(
124 const blink::WebString& key_system); 124 const blink::WebString& key_system);
125 virtual blink::WebMIDIAccessor* 125 virtual blink::WebMIDIAccessor*
126 createMIDIAccessor(blink::WebMIDIAccessorClient* client); 126 createMIDIAccessor(blink::WebMIDIAccessorClient* client);
127 127
128 virtual blink::WebBlobRegistry* blobRegistry(); 128 virtual blink::WebBlobRegistry* blobRegistry();
129 virtual void sampleGamepads(blink::WebGamepads&); 129 virtual void sampleGamepads(blink::WebGamepads&);
130 virtual blink::WebString userAgent(const blink::WebURL& url);
131 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( 130 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
132 blink::WebRTCPeerConnectionHandlerClient* client); 131 blink::WebRTCPeerConnectionHandlerClient* client);
133 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( 132 virtual blink::WebMediaStreamCenter* createMediaStreamCenter(
134 blink::WebMediaStreamCenterClient* client); 133 blink::WebMediaStreamCenterClient* client);
135 virtual bool processMemorySizesInBytes( 134 virtual bool processMemorySizesInBytes(
136 size_t* private_bytes, size_t* shared_bytes); 135 size_t* private_bytes, size_t* shared_bytes);
137 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 136 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
138 #ifdef ENABLE_EXPLICIT_GL_SHARE_GROUPS 137 #ifdef ENABLE_EXPLICIT_GL_SHARE_GROUPS
139 const blink::WebGraphicsContext3D::Attributes& attributes, 138 const blink::WebGraphicsContext3D::Attributes& attributes,
140 blink::WebGraphicsContext3D* share_context); 139 blink::WebGraphicsContext3D* share_context);
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 scoped_ptr<ScreenOrientationDispatcher> screen_orientation_dispatcher_; 228 scoped_ptr<ScreenOrientationDispatcher> screen_orientation_dispatcher_;
230 229
231 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; 230 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_;
232 231
233 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); 232 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl);
234 }; 233 };
235 234
236 } // namespace content 235 } // namespace content
237 236
238 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 237 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_url_request_unittest.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698