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

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

Issue 2607063002: Remove mojo::Array. (Closed)
Patch Set: rebase 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"
15 #include "mojo/public/cpp/bindings/map.h" 14 #include "mojo/public/cpp/bindings/map.h"
16 #include "services/ui/public/cpp/property_type_converters.h" 15 #include "services/ui/public/cpp/property_type_converters.h"
17 #include "services/ui/public/interfaces/window_manager.mojom.h" 16 #include "services/ui/public/interfaces/window_manager.mojom.h"
18 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
19 #include "ui/aura/client/aura_constants.h" 18 #include "ui/aura/client/aura_constants.h"
20 #include "ui/aura/client/capture_client.h" 19 #include "ui/aura/client/capture_client.h"
21 #include "ui/aura/client/capture_client_observer.h" 20 #include "ui/aura/client/capture_client_observer.h"
22 #include "ui/aura/client/focus_client.h" 21 #include "ui/aura/client/focus_client.h"
23 #include "ui/aura/client/transient_window_client.h" 22 #include "ui/aura/client/transient_window_client.h"
24 #include "ui/aura/mus/property_converter.h" 23 #include "ui/aura/mus/property_converter.h"
(...skipping 1471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 window_tree_client()->OnTopLevelCreated(change_id, std::move(data), 1495 window_tree_client()->OnTopLevelCreated(change_id, std::move(data),
1497 display_id, true); 1496 display_id, true);
1498 1497
1499 // aura::Window should operate in DIP and aura::WindowTreeHost should operate 1498 // aura::Window should operate in DIP and aura::WindowTreeHost should operate
1500 // in pixels. 1499 // in pixels.
1501 EXPECT_EQ(gfx::Rect(0, 0, 3, 4), top_level->bounds()); 1500 EXPECT_EQ(gfx::Rect(0, 0, 3, 4), top_level->bounds());
1502 EXPECT_EQ(gfx::Rect(2, 4, 6, 8), top_level->GetHost()->GetBoundsInPixels()); 1501 EXPECT_EQ(gfx::Rect(2, 4, 6, 8), top_level->GetHost()->GetBoundsInPixels());
1503 } 1502 }
1504 1503
1505 } // namespace aura 1504 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698