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

Unified Diff: ui/app_list/views/pulsing_block_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/folder_background_view.cc ('k') | ui/app_list/views/search_result_list_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/pulsing_block_view.cc
diff --git a/ui/app_list/views/pulsing_block_view.cc b/ui/app_list/views/pulsing_block_view.cc
index 373ceefdce6d1ff5dcfb4d48eced901890699dec..44f2c304e2aaf402b5c3971566471311113929d9 100644
--- a/ui/app_list/views/pulsing_block_view.cc
+++ b/ui/app_list/views/pulsing_block_view.cc
@@ -71,7 +71,6 @@ void SchedulePulsingAnimation(ui::Layer* layer) {
namespace app_list {
PulsingBlockView::PulsingBlockView(const gfx::Size& size, bool start_delay) {
-#if defined(USE_AURA)
SetPaintToLayer(true);
SetFillsBoundsOpaquely(false);
@@ -81,9 +80,6 @@ PulsingBlockView::PulsingBlockView(const gfx::Size& size, bool start_delay) {
FROM_HERE,
base::TimeDelta::FromMilliseconds(delay),
this, &PulsingBlockView::OnStartDelayTimer);
-#else
- NOTREACHED() << "Pulsing animation is not supported on Windows";
-#endif
}
PulsingBlockView::~PulsingBlockView() {
« no previous file with comments | « ui/app_list/views/folder_background_view.cc ('k') | ui/app_list/views/search_result_list_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698