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

Side by Side Diff: ui/accessibility/ax_node_data.cc

Issue 1445003002: Use std::default_delete as the default deleter for scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: How many trial and errors before this builds on the Windows bots Created 5 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 | « sql/mojo/vfs_unittest.cc ('k') | ui/base/x/x11_menu_list.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/accessibility/ax_node_data.h" 5 #include "ui/accessibility/ax_node_data.h"
6 6
7 #include <algorithm>
7 #include <set> 8 #include <set>
8 9
9 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
13 14
14 using base::DoubleToString; 15 using base::DoubleToString;
15 using base::IntToString; 16 using base::IntToString;
16 17
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 bool AXNodeData::IsRoot() const { 640 bool AXNodeData::IsRoot() const {
640 return (role == AX_ROLE_ROOT_WEB_AREA || 641 return (role == AX_ROLE_ROOT_WEB_AREA ||
641 role == AX_ROLE_DESKTOP); 642 role == AX_ROLE_DESKTOP);
642 } 643 }
643 644
644 void AXNodeData::SetRoot() { 645 void AXNodeData::SetRoot() {
645 role = AX_ROLE_ROOT_WEB_AREA; 646 role = AX_ROLE_ROOT_WEB_AREA;
646 } 647 }
647 648
648 } // namespace ui 649 } // namespace ui
OLDNEW
« no previous file with comments | « sql/mojo/vfs_unittest.cc ('k') | ui/base/x/x11_menu_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698