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

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

Issue 388893003: Fixes for re-enabling more MSVC level 4 warnings: ui/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | ui/native_theme/native_theme_win.cc » ('J')
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 <set> 7 #include <set>
8 8
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 14 matching lines...) Expand all
25 str += IntToString(items[i]); 25 str += IntToString(items[i]);
26 } 26 }
27 return str; 27 return str;
28 } 28 }
29 29
30 } // Anonymous namespace 30 } // Anonymous namespace
31 31
32 AXNodeData::AXNodeData() 32 AXNodeData::AXNodeData()
33 : id(-1), 33 : id(-1),
34 role(AX_ROLE_UNKNOWN), 34 role(AX_ROLE_UNKNOWN),
35 state(-1) { 35 state(0xFFFFFFFF) {
36 } 36 }
37 37
38 AXNodeData::~AXNodeData() { 38 AXNodeData::~AXNodeData() {
39 } 39 }
40 40
41 void AXNodeData::AddStringAttribute( 41 void AXNodeData::AddStringAttribute(
42 AXStringAttribute attribute, const std::string& value) { 42 AXStringAttribute attribute, const std::string& value) {
43 string_attributes.push_back(std::make_pair(attribute, value)); 43 string_attributes.push_back(std::make_pair(attribute, value));
44 } 44 }
45 45
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 } 392 }
393 } 393 }
394 394
395 if (!child_ids.empty()) 395 if (!child_ids.empty())
396 result += " child_ids=" + IntVectorToString(child_ids); 396 result += " child_ids=" + IntVectorToString(child_ids);
397 397
398 return result; 398 return result;
399 } 399 }
400 400
401 } // namespace ui 401 } // namespace ui
OLDNEW
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | ui/native_theme/native_theme_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698