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

Side by Side Diff: ash/common/mus_property_mirror_ash_unittest.cc

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (Closed)
Patch Set: 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
« no previous file with comments | « ash/common/multi_profile_uma.cc ('k') | ash/common/new_window_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/public/cpp/mus_property_mirror_ash.h" 5 #include "ash/public/cpp/mus_property_mirror_ash.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ash/common/wm_window.h"
9 #include "ash/public/cpp/window_properties.h" 10 #include "ash/public/cpp/window_properties.h"
10 #include "ash/test/ash_test.h" 11 #include "ash/test/ash_test.h"
11 #include "ash/wm_window.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "ui/aura/client/aura_constants.h" 14 #include "ui/aura/client/aura_constants.h"
15 #include "ui/aura/window.h" 15 #include "ui/aura/window.h"
16 16
17 namespace ash { 17 namespace ash {
18 18
19 using MusPropertyMirrorAshTest = AshTest; 19 using MusPropertyMirrorAshTest = AshTest;
20 20
21 // Ensure the property mirror can copy primitive properties between windows. 21 // Ensure the property mirror can copy primitive properties between windows.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 window_1->SetProperty(aura::client::kWindowIconKey, new gfx::ImageSkia()); 81 window_1->SetProperty(aura::client::kWindowIconKey, new gfx::ImageSkia());
82 EXPECT_NE(nullptr, window_1->GetProperty(aura::client::kWindowIconKey)); 82 EXPECT_NE(nullptr, window_1->GetProperty(aura::client::kWindowIconKey));
83 mus_property_mirror_ash.MirrorPropertyFromWidgetWindowToRootWindow( 83 mus_property_mirror_ash.MirrorPropertyFromWidgetWindowToRootWindow(
84 window_1, window_2, aura::client::kWindowIconKey); 84 window_1, window_2, aura::client::kWindowIconKey);
85 EXPECT_NE(nullptr, window_2->GetProperty(aura::client::kWindowIconKey)); 85 EXPECT_NE(nullptr, window_2->GetProperty(aura::client::kWindowIconKey));
86 EXPECT_NE(window_1->GetProperty(aura::client::kWindowIconKey), 86 EXPECT_NE(window_1->GetProperty(aura::client::kWindowIconKey),
87 window_2->GetProperty(aura::client::kWindowIconKey)); 87 window_2->GetProperty(aura::client::kWindowIconKey));
88 } 88 }
89 89
90 } // namespace ash 90 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/multi_profile_uma.cc ('k') | ash/common/new_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698