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

Side by Side Diff: ui/message_center/message_center_impl_unittest.cc

Issue 2758413002: cc/paint: Remove PaintCanvas::peekPixels. (Closed)
Patch Set: update Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/message_center/message_center_impl.h" 5 #include "ui/message_center/message_center_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "base/test/test_mock_time_task_runner.h" 17 #include "base/test/test_mock_time_task_runner.h"
18 #include "base/threading/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 #include "third_party/skia/include/core/SkSurface.h"
21 #include "ui/gfx/canvas.h" 22 #include "ui/gfx/canvas.h"
22 #include "ui/gfx/geometry/size.h" 23 #include "ui/gfx/geometry/size.h"
23 #include "ui/message_center/message_center.h" 24 #include "ui/message_center/message_center.h"
24 #include "ui/message_center/message_center_style.h" 25 #include "ui/message_center/message_center_style.h"
25 #include "ui/message_center/message_center_types.h" 26 #include "ui/message_center/message_center_types.h"
26 #include "ui/message_center/notification_blocker.h" 27 #include "ui/message_center/notification_blocker.h"
27 #include "ui/message_center/notification_types.h" 28 #include "ui/message_center/notification_types.h"
28 #include "ui/message_center/notifier_settings.h" 29 #include "ui/message_center/notifier_settings.h"
29 30
30 using base::UTF8ToUTF16; 31 using base::UTF8ToUTF16;
(...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 // Then open the message center. 1264 // Then open the message center.
1264 message_center()->SetVisibility(VISIBILITY_MESSAGE_CENTER); 1265 message_center()->SetVisibility(VISIBILITY_MESSAGE_CENTER);
1265 1266
1266 // Then update a notification; the update should have propagated. 1267 // Then update a notification; the update should have propagated.
1267 message_center()->RemoveNotification(id, false); 1268 message_center()->RemoveNotification(id, false);
1268 EXPECT_FALSE(message_center()->FindVisibleNotificationById(id)); 1269 EXPECT_FALSE(message_center()->FindVisibleNotificationById(id));
1269 } 1270 }
1270 1271
1271 } // namespace internal 1272 } // namespace internal
1272 } // namespace message_center 1273 } // namespace message_center
OLDNEW
« ui/gfx/render_text_unittest.cc ('K') | « ui/gfx/render_text_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698