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

Side by Side Diff: ash/devtools/ash_devtools_unittest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (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/devtools/ash_devtools_dom_agent.cc ('k') | ash/dip_unittest.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/common/devtools/ash_devtools_css_agent.h" 5 #include "ash/devtools/ash_devtools_css_agent.h"
6 #include "ash/common/devtools/ash_devtools_dom_agent.h" 6 #include "ash/devtools/ash_devtools_dom_agent.h"
7 #include "ash/common/test/ash_test.h"
8 #include "ash/common/wm_shell.h"
9 #include "ash/common/wm_window.h"
10 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
8 #include "ash/test/ash_test.h"
9 #include "ash/wm_shell.h"
10 #include "ash/wm_window.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "ui/display/display.h" 13 #include "ui/display/display.h"
14 #include "ui/views/background.h" 14 #include "ui/views/background.h"
15 #include "ui/views/widget/native_widget_private.h" 15 #include "ui/views/widget/native_widget_private.h"
16 #include "ui/views/widget/widget.h" 16 #include "ui/views/widget/widget.h"
17 17
18 namespace ash { 18 namespace ash {
19 namespace { 19 namespace {
20 using namespace ui::devtools::protocol; 20 using namespace ui::devtools::protocol;
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 EXPECT_EQ(gfx::Rect(25, 35, 45, 20), root_view->bounds()); // Not changed 756 EXPECT_EQ(gfx::Rect(25, 35, 45, 20), root_view->bounds()); // Not changed
757 757
758 SetStyleTexts(root_view_node, "\nheight: 73;\n ", true); 758 SetStyleTexts(root_view_node, "\nheight: 73;\n ", true);
759 EXPECT_EQ(gfx::Rect(25, 35, 45, 73), root_view->bounds()); 759 EXPECT_EQ(gfx::Rect(25, 35, 45, 73), root_view->bounds());
760 760
761 SetStyleTexts(root_view_node, "\nx: 10; y: 23; width: 52;\n ", true); 761 SetStyleTexts(root_view_node, "\nx: 10; y: 23; width: 52;\n ", true);
762 EXPECT_EQ(gfx::Rect(10, 23, 52, 73), root_view->bounds()); 762 EXPECT_EQ(gfx::Rect(10, 23, 52, 73), root_view->bounds());
763 } 763 }
764 764
765 } // namespace ash 765 } // namespace ash
OLDNEW
« no previous file with comments | « ash/devtools/ash_devtools_dom_agent.cc ('k') | ash/dip_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698