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

Unified Diff: chromecast/browser/cast_web_contents_user_data.cc

Issue 1972433002: [Chromecast] Handle device scale factor correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chromecast/browser/cast_web_contents_user_data.cc
diff --git a/chromecast/utility/cast_content_utility_client_simple.cc b/chromecast/browser/cast_web_contents_user_data.cc
similarity index 54%
copy from chromecast/utility/cast_content_utility_client_simple.cc
copy to chromecast/browser/cast_web_contents_user_data.cc
index 9db984e8502cbfb434654e2e9db9b46c3c10b6d7..378e8e2873e28699378c13d62dde95f1b935cb1d 100644
--- a/chromecast/utility/cast_content_utility_client_simple.cc
+++ b/chromecast/browser/cast_web_contents_user_data.cc
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chromecast/utility/cast_content_utility_client.h"
+#include "chromecast/browser/cast_web_contents_user_data.h"
namespace chromecast {
namespace shell {
-// static
-std::unique_ptr<CastContentUtilityClient> CastContentUtilityClient::Create() {
- return std::unique_ptr<CastContentUtilityClient>();
-}
+int CastWebContentsUserData::key_ = 0;
+
+CastWebContentsUserData::CastWebContentsUserData(int resolution_height)
+ : resolution_height_(resolution_height) {}
} // namespace shell
} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698