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

Side by Side Diff: ui/aura/mus/window_tree_client_unittest.cc

Issue 2603893002: Remove mojo::Map. (Closed)
Patch Set: Created 3 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/aura/mus/window_tree_client.h" 5 #include "ui/aura/mus/window_tree_client.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.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/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "mojo/common/common_type_converters.h" 14 #include "mojo/common/common_type_converters.h"
15 #include "mojo/public/cpp/bindings/map.h"
15 #include "services/ui/public/cpp/property_type_converters.h" 16 #include "services/ui/public/cpp/property_type_converters.h"
16 #include "services/ui/public/interfaces/window_manager.mojom.h" 17 #include "services/ui/public/interfaces/window_manager.mojom.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 #include "ui/aura/client/aura_constants.h" 19 #include "ui/aura/client/aura_constants.h"
19 #include "ui/aura/client/capture_client.h" 20 #include "ui/aura/client/capture_client.h"
20 #include "ui/aura/client/capture_client_observer.h" 21 #include "ui/aura/client/capture_client_observer.h"
21 #include "ui/aura/client/focus_client.h" 22 #include "ui/aura/client/focus_client.h"
22 #include "ui/aura/client/transient_window_client.h" 23 #include "ui/aura/client/transient_window_client.h"
23 #include "ui/aura/mus/property_converter.h" 24 #include "ui/aura/mus/property_converter.h"
24 #include "ui/aura/mus/window_mus.h" 25 #include "ui/aura/mus/window_mus.h"
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 window_tree_client()->OnTopLevelCreated(change_id, std::move(data), 1459 window_tree_client()->OnTopLevelCreated(change_id, std::move(data),
1459 display_id, true); 1460 display_id, true);
1460 1461
1461 // aura::Window should operate in DIP and aura::WindowTreeHost should operate 1462 // aura::Window should operate in DIP and aura::WindowTreeHost should operate
1462 // in pixels. 1463 // in pixels.
1463 EXPECT_EQ(gfx::Rect(0, 0, 3, 4), top_level->bounds()); 1464 EXPECT_EQ(gfx::Rect(0, 0, 3, 4), top_level->bounds());
1464 EXPECT_EQ(gfx::Rect(2, 4, 6, 8), top_level->GetHost()->GetBoundsInPixels()); 1465 EXPECT_EQ(gfx::Rect(2, 4, 6, 8), top_level->GetHost()->GetBoundsInPixels());
1465 } 1466 }
1466 1467
1467 } // namespace aura 1468 } // namespace aura
OLDNEW
« services/ui/ws/drag_controller.h ('K') | « ui/aura/mus/window_tree_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698