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

Unified Diff: chrome/browser/ui/app_list/search/answer_card/answer_card_web_contents.cc

Issue 2969523002: Set the web view's resize background color to transparent. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/search/answer_card/answer_card_web_contents.cc
diff --git a/chrome/browser/ui/app_list/search/answer_card/answer_card_web_contents.cc b/chrome/browser/ui/app_list/search/answer_card/answer_card_web_contents.cc
index e8de4cb88f98e2c116765086ffd1ceb8929e24bf..34631a1282eccff99ab0e531fd8ddd06dda56a77 100644
--- a/chrome/browser/ui/app_list/search/answer_card/answer_card_web_contents.cc
+++ b/chrome/browser/ui/app_list/search/answer_card/answer_card_web_contents.cc
@@ -71,6 +71,7 @@ AnswerCardWebContents::AnswerCardWebContents(Profile* profile)
web_contents_->SetDelegate(this);
web_view_->set_owned_by_client();
web_view_->SetWebContents(web_contents_.get());
+ web_view_->SetResizeBackgroundColor(SK_ColorTRANSPARENT);
// Make the webview transparent since it's going to be shown on top of a
// highlightable button.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698