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

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

Issue 121033002: Update uses of UTF conversions in content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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 "content/browser/accessibility/accessibility_tree_formatter.h" 5 #include "content/browser/accessibility/accessibility_tree_formatter.h"
6 6
7 #include <atk/atk.h> 7 #include <atk/atk.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 if ((*it)->GetAsString(&state_value)) 67 if ((*it)->GetAsString(&state_value))
68 WriteAttribute(true, state_value, &line); 68 WriteAttribute(true, state_value, &line);
69 } 69 }
70 70
71 int id_value; 71 int id_value;
72 node.GetInteger("id", &id_value); 72 node.GetInteger("id", &id_value);
73 WriteAttribute(false, 73 WriteAttribute(false,
74 base::StringPrintf("id=%d", id_value), 74 base::StringPrintf("id=%d", id_value),
75 &line); 75 &line);
76 76
77 return indent + line + ASCIIToUTF16("\n"); 77 return indent + line + base::ASCIIToUTF16("\n");
78 } 78 }
79 79
80 void AccessibilityTreeFormatter::Initialize() {} 80 void AccessibilityTreeFormatter::Initialize() {}
81 81
82 // static 82 // static
83 const base::FilePath::StringType 83 const base::FilePath::StringType
84 AccessibilityTreeFormatter::GetActualFileSuffix() { 84 AccessibilityTreeFormatter::GetActualFileSuffix() {
85 return FILE_PATH_LITERAL("-actual-gtk.txt"); 85 return FILE_PATH_LITERAL("-actual-gtk.txt");
86 } 86 }
87 87
(...skipping 12 matching lines...) Expand all
100 const std::string AccessibilityTreeFormatter::GetAllowString() { 100 const std::string AccessibilityTreeFormatter::GetAllowString() {
101 return "@GTK-ALLOW:"; 101 return "@GTK-ALLOW:";
102 } 102 }
103 103
104 // static 104 // static
105 const std::string AccessibilityTreeFormatter::GetDenyString() { 105 const std::string AccessibilityTreeFormatter::GetDenyString() {
106 return "@GTK-DENY:"; 106 return "@GTK-DENY:";
107 } 107 }
108 108
109 } 109 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698