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

Unified Diff: ui/app_list/views/app_list_main_view.cc

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files Created 6 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/app_list/views/app_list_main_view.h ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_main_view.cc
diff --git a/ui/app_list/views/app_list_main_view.cc b/ui/app_list/views/app_list_main_view.cc
index dcb57803c4acf6d55539b8c7838c12b0baa27f7b..bdac81bd330f83eb572733150d57e0b7118ca5f0 100644
--- a/ui/app_list/views/app_list_main_view.cc
+++ b/ui/app_list/views/app_list_main_view.cc
@@ -113,11 +113,9 @@ void AppListMainView::AddContentsView() {
search_box_view_->set_contents_view(contents_view_);
-#if defined(USE_AURA)
contents_view_->SetPaintToLayer(true);
contents_view_->SetFillsBoundsOpaquely(false);
contents_view_->layer()->SetMasksToBounds(true);
-#endif
}
AppListMainView::~AppListMainView() {
@@ -228,6 +226,10 @@ void AppListMainView::OnItemIconLoaded(IconLoader* loader) {
}
}
+const char* AppListMainView::GetClassName() const {
+ return "AppListMainView";
+}
+
void AppListMainView::ChildVisibilityChanged(views::View* child) {
// Repaint the AppListView's background which will repaint the background for
// the search box.
« no previous file with comments | « ui/app_list/views/app_list_main_view.h ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698