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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 2154233003: Rewrite YouTube Flash embeds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 4 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 | « chrome/renderer/DEPS ('k') | chrome/renderer/chrome_content_renderer_client.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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void DidInitializeServiceWorkerContextOnWorkerThread( 156 void DidInitializeServiceWorkerContextOnWorkerThread(
157 v8::Local<v8::Context> context, 157 v8::Local<v8::Context> context,
158 int embedded_worker_id, 158 int embedded_worker_id,
159 const GURL& url) override; 159 const GURL& url) override;
160 void WillDestroyServiceWorkerContextOnWorkerThread( 160 void WillDestroyServiceWorkerContextOnWorkerThread(
161 v8::Local<v8::Context> context, 161 v8::Local<v8::Context> context,
162 int embedded_worker_id, 162 int embedded_worker_id,
163 const GURL& url) override; 163 const GURL& url) override;
164 bool ShouldEnforceWebRTCRoutingPreferences() override; 164 bool ShouldEnforceWebRTCRoutingPreferences() override;
165 165
166 GURL OverrideFlashEmbedWithHTML(const GURL& url) override;
167
166 #if defined(ENABLE_SPELLCHECK) 168 #if defined(ENABLE_SPELLCHECK)
167 // Sets a new |spellcheck|. Used for testing only. 169 // Sets a new |spellcheck|. Used for testing only.
168 // Takes ownership of |spellcheck|. 170 // Takes ownership of |spellcheck|.
169 void SetSpellcheck(SpellCheck* spellcheck); 171 void SetSpellcheck(SpellCheck* spellcheck);
170 #endif 172 #endif
171 173
172 #if defined(ENABLE_PLUGINS) 174 #if defined(ENABLE_PLUGINS)
173 static blink::WebPlugin* CreatePlugin( 175 static blink::WebPlugin* CreatePlugin(
174 content::RenderFrame* render_frame, 176 content::RenderFrame* render_frame,
175 blink::WebLocalFrame* frame, 177 blink::WebLocalFrame* frame,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 #if defined(ENABLE_PRINT_PREVIEW) 226 #if defined(ENABLE_PRINT_PREVIEW)
225 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; 227 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_;
226 #endif 228 #endif
227 #if defined(ENABLE_PLUGINS) 229 #if defined(ENABLE_PLUGINS)
228 std::set<std::string> allowed_camera_device_origins_; 230 std::set<std::string> allowed_camera_device_origins_;
229 std::set<std::string> allowed_compositor_origins_; 231 std::set<std::string> allowed_compositor_origins_;
230 #endif 232 #endif
231 }; 233 };
232 234
233 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 235 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698