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

Side by Side Diff: chromecast/renderer/cast_content_renderer_client_simple.cc

Issue 1153173006: Chromecast: use CastContent{Browser,Renderer}Client as a base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm excess methods Created 5 years, 6 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 | « chromecast/renderer/cast_content_renderer_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "chromecast/renderer/cast_content_renderer_client.h" 5 #include "chromecast/renderer/cast_content_renderer_client.h"
6 6
7 #include "base/memory/scoped_ptr.h"
7 #include "ipc/message_filter.h" 8 #include "ipc/message_filter.h"
8 9
9 namespace chromecast { 10 namespace chromecast {
10 namespace shell { 11 namespace shell {
11 12
13 // static
14 scoped_ptr<CastContentRendererClient> CastContentRendererClient::Create() {
15 return make_scoped_ptr(new CastContentRendererClient());
16 }
17
12 void PlatformAddRendererNativeBindings(blink::WebLocalFrame* frame) { 18 void PlatformAddRendererNativeBindings(blink::WebLocalFrame* frame) {
13 } 19 }
14 20
15 std::vector<scoped_refptr<IPC::MessageFilter>> 21 std::vector<scoped_refptr<IPC::MessageFilter>>
16 CastContentRendererClient::PlatformGetRendererMessageFilters() { 22 CastContentRendererClient::PlatformGetRendererMessageFilters() {
17 return std::vector<scoped_refptr<IPC::MessageFilter>>(); 23 return std::vector<scoped_refptr<IPC::MessageFilter>>();
18 } 24 }
19 25
20 } // namespace shell 26 } // namespace shell
21 } // namespace chromecast 27 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/renderer/cast_content_renderer_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698