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

Side by Side Diff: content/browser/accessibility/snapshot_ax_tree_browsertest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 "base/callback.h" 5 #include "base/callback.h"
6 #include "base/macros.h"
6 #include "content/browser/web_contents/web_contents_impl.h" 7 #include "content/browser/web_contents/web_contents_impl.h"
7 #include "content/public/test/content_browser_test.h" 8 #include "content/public/test/content_browser_test.h"
8 #include "content/public/test/content_browser_test_utils.h" 9 #include "content/public/test/content_browser_test_utils.h"
9 #include "content/public/test/test_utils.h" 10 #include "content/public/test/test_utils.h"
10 #include "content/shell/browser/shell.h" 11 #include "content/shell/browser/shell.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/accessibility/ax_node.h" 13 #include "ui/accessibility/ax_node.h"
13 #include "ui/accessibility/ax_tree.h" 14 #include "ui/accessibility/ax_tree.h"
14 15
15 namespace content { 16 namespace content {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ui::AXNode* root = tree.root(); 69 ui::AXNode* root = tree.root();
69 ASSERT_NE(nullptr, root); 70 ASSERT_NE(nullptr, root);
70 ASSERT_EQ(ui::AX_ROLE_ROOT_WEB_AREA, root->data().role); 71 ASSERT_EQ(ui::AX_ROLE_ROOT_WEB_AREA, root->data().role);
71 ui::AXNode* group = root->ChildAtIndex(0); 72 ui::AXNode* group = root->ChildAtIndex(0);
72 ASSERT_EQ(ui::AX_ROLE_GROUP, group->data().role); 73 ASSERT_EQ(ui::AX_ROLE_GROUP, group->data().role);
73 ui::AXNode* button = group->ChildAtIndex(0); 74 ui::AXNode* button = group->ChildAtIndex(0);
74 ASSERT_EQ(ui::AX_ROLE_BUTTON, button->data().role); 75 ASSERT_EQ(ui::AX_ROLE_BUTTON, button->data().role);
75 } 76 }
76 77
77 } // namespace content 78 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698