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

Side by Side Diff: ash/display/root_window_transformers_unittest.cc

Issue 15730006: Use the source display's pixel size as a mirror window's size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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"ash/ash_root_window_transformer.h" 5 #include "ash/display/root_window_transformers.h"
6 6
7 #include "ash/display/display_controller.h" 7 #include "ash/display/display_controller.h"
8 #include "ash/display/display_info.h" 8 #include "ash/display/display_info.h"
9 #include "ash/display/display_manager.h" 9 #include "ash/display/display_manager.h"
10 #include "ash/launcher/launcher.h" 10 #include "ash/launcher/launcher.h"
11 #include "ash/magnifier/magnification_controller.h" 11 #include "ash/magnifier/magnification_controller.h"
12 #include "ash/screen_ash.h" 12 #include "ash/screen_ash.h"
13 #include "ash/shelf/shelf_widget.h" 13 #include "ash/shelf/shelf_widget.h"
14 #include "ash/shell.h" 14 #include "ash/shell.h"
15 #include "ash/test/ash_test_base.h" 15 #include "ash/test/ash_test_base.h"
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 EXPECT_EQ("159,99", event_handler.GetLocationAndReset()); 389 EXPECT_EQ("159,99", event_handler.GetLocationAndReset());
390 390
391 magnifier->SetEnabled(false); 391 magnifier->SetEnabled(false);
392 EXPECT_FLOAT_EQ(1.0f, magnifier->GetScale()); 392 EXPECT_FLOAT_EQ(1.0f, magnifier->GetScale());
393 393
394 Shell::GetInstance()->RemovePreTargetHandler(&event_handler); 394 Shell::GetInstance()->RemovePreTargetHandler(&event_handler);
395 } 395 }
396 396
397 } // namespace test 397 } // namespace test
398 } // namespace ash 398 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698