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

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

Issue 2521543003: Add stream operator for SurfaceId/FrameSinkId/LocalFrameId. (Closed)
Patch Set: Add another missing include. Created 4 years, 1 month 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 | « no previous file | cc/surfaces/BUILD.gn » ('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_dom_agent.h" 5 #include "ash/common/devtools/ash_devtools_dom_agent.h"
6 6
7 #include "ash/common/test/ash_test.h" 7 #include "ash/common/test/ash_test.h"
8 #include "ash/common/wm_lookup.h" 8 #include "ash/common/wm_lookup.h"
9 #include "ash/common/wm_shell.h" 9 #include "ash/common/wm_shell.h"
10 #include "ash/common/wm_window.h" 10 #include "ash/common/wm_window.h"
11 #include "base/strings/stringprintf.h"
11 #include "ui/views/widget/widget.h" 12 #include "ui/views/widget/widget.h"
12 13
13 namespace ash { 14 namespace ash {
14 namespace { 15 namespace {
15 using namespace ui::devtools::protocol; 16 using namespace ui::devtools::protocol;
16 const int kDefaultChildNodeCount = -1; 17 const int kDefaultChildNodeCount = -1;
17 18
18 class TestView : public views::View { 19 class TestView : public views::View {
19 public: 20 public:
20 TestView(const char* name) : views::View(), name_(name) {} 21 TestView(const char* name) : views::View(), name_(name) {}
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 int parent_id = parent_node->getNodeId(); 303 int parent_id = parent_node->getNodeId();
303 304
304 Compare(parent_window, parent_node); 305 Compare(parent_window, parent_node);
305 Compare(child_window, child_node); 306 Compare(child_window, child_node);
306 parent_window->StackChildAbove(child_window, target_window); 307 parent_window->StackChildAbove(child_window, target_window);
307 ExpectChildNodeRemoved(parent_id, child_node->getNodeId()); 308 ExpectChildNodeRemoved(parent_id, child_node->getNodeId());
308 ExpectChildNodeInserted(parent_id, sibling_node->getNodeId()); 309 ExpectChildNodeInserted(parent_id, sibling_node->getNodeId());
309 } 310 }
310 311
311 } // namespace ash 312 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | cc/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698