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

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

Issue 683893003: Chromecast buildfix: content::KeySystemsInfo moved to media namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <sys/sysinfo.h> 7 #include <sys/sysinfo.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/memory/memory_pressure_listener.h" 10 #include "base/memory/memory_pressure_listener.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void CastContentRendererClient::RenderViewCreated( 42 void CastContentRendererClient::RenderViewCreated(
43 content::RenderView* render_view) { 43 content::RenderView* render_view) {
44 blink::WebView* webview = render_view->GetWebView(); 44 blink::WebView* webview = render_view->GetWebView();
45 if (webview) { 45 if (webview) {
46 webview->setBaseBackgroundColor(kColorBlack); 46 webview->setBaseBackgroundColor(kColorBlack);
47 webview->settings()->setShrinksViewportContentToFit(false); 47 webview->settings()->setShrinksViewportContentToFit(false);
48 } 48 }
49 } 49 }
50 50
51 void CastContentRendererClient::AddKeySystems( 51 void CastContentRendererClient::AddKeySystems(
52 std::vector<content::KeySystemInfo>* key_systems) { 52 std::vector< ::media::KeySystemInfo>* key_systems) {
53 AddChromecastKeySystems(key_systems); 53 AddChromecastKeySystems(key_systems);
54 AddChromecastPlatformKeySystems(key_systems); 54 AddChromecastPlatformKeySystems(key_systems);
55 } 55 }
56 56
57 } // namespace shell 57 } // namespace shell
58 } // namespace chromecast 58 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/renderer/cast_content_renderer_client.h ('k') | chromecast/renderer/key_systems_cast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698