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

Unified Diff: ui/views/controls/webview/web_contents_set_background_color.cc

Issue 2905523004: Making answer card to behave like other results. (Closed)
Patch Set: Fixing build breakage. Created 3 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
« no previous file with comments | « ui/views/controls/webview/web_contents_set_background_color.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/webview/web_contents_set_background_color.cc
diff --git a/chrome/browser/chromeos/login/ui/web_contents_set_background_color.cc b/ui/views/controls/webview/web_contents_set_background_color.cc
similarity index 86%
rename from chrome/browser/chromeos/login/ui/web_contents_set_background_color.cc
rename to ui/views/controls/webview/web_contents_set_background_color.cc
index 6b57011eaf5994e51d5a9ab21976585f6e072fe4..e5de0e42b34b57ec669f1c94501375e55e1d4913 100644
--- a/chrome/browser/chromeos/login/ui/web_contents_set_background_color.cc
+++ b/ui/views/controls/webview/web_contents_set_background_color.cc
@@ -1,17 +1,17 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
+// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/chromeos/login/ui/web_contents_set_background_color.h"
+#include "ui/views/controls/webview/web_contents_set_background_color.h"
#include "base/memory/ptr_util.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/render_widget_host.h"
#include "content/public/browser/render_widget_host_view.h"
-DEFINE_WEB_CONTENTS_USER_DATA_KEY(chromeos::WebContentsSetBackgroundColor);
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(views::WebContentsSetBackgroundColor);
-namespace chromeos {
+namespace views {
// static
void WebContentsSetBackgroundColor::CreateForWebContentsWithColor(
@@ -54,4 +54,4 @@ void WebContentsSetBackgroundColor::RenderViewHostChanged(
new_host->GetWidget()->GetView()->SetBackgroundColor(color_);
}
-} // namespace chromeos
+} // namespace views
« no previous file with comments | « ui/views/controls/webview/web_contents_set_background_color.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698