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

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: Address more comments 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
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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 bool AXNodeData::IsRoot() const { 641 bool AXNodeData::IsRoot() const {
641 return (role == AX_ROLE_ROOT_WEB_AREA || 642 return (role == AX_ROLE_ROOT_WEB_AREA ||
642 role == AX_ROLE_DESKTOP); 643 role == AX_ROLE_DESKTOP);
643 } 644 }
644 645
645 void AXNodeData::SetRoot() { 646 void AXNodeData::SetRoot() {
646 role = AX_ROLE_ROOT_WEB_AREA; 647 role = AX_ROLE_ROOT_WEB_AREA;
647 } 648 }
648 649
649 } // namespace ui 650 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698