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

Unified Diff: ui/message_center/views/message_popup_collection_unittest.cc

Issue 19291004: Observes work area change and auto-hide for notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
Index: ui/message_center/views/message_popup_collection_unittest.cc
diff --git a/ui/message_center/views/message_popup_collection_unittest.cc b/ui/message_center/views/message_popup_collection_unittest.cc
index 311651d4c82bbda84a7ea3d5703276c6b721ef3c..38e381c8f62e10d9d3d32179c203e0171032e2f8 100644
--- a/ui/message_center/views/message_popup_collection_unittest.cc
+++ b/ui/message_center/views/message_popup_collection_unittest.cc
@@ -29,7 +29,7 @@ class MessagePopupCollectionTest : public views::ViewsTestBase {
// This size fits test machines resolution and also can keep a few toasts
// w/o ill effects of hitting the screen overflow. This allows us to assume
// and verify normal layout of the toast stack.
- collection_->SetWorkAreaForTest(gfx::Rect(0, 0, 600, 400));
+ collection_->SetWorkArea(gfx::Rect(0, 0, 600, 400));
id_ = 0;
}

Powered by Google App Engine
This is Rietveld 408576698