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

Side by Side Diff: content/browser/accessibility/dump_accessibility_tree_helper_mac.mm

Issue 12213066: Use base namespace for FilePath in content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/dump_accessibility_tree_helper.h" 5 #include "content/browser/accessibility/dump_accessibility_tree_helper.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 Add(false, Format(node, "url='", @selector(url), "'")); 105 Add(false, Format(node, "url='", @selector(url), "'"));
106 Add(false, Format(node, "visibleCharacterRange='", 106 Add(false, Format(node, "visibleCharacterRange='",
107 @selector(visibleCharacterRange), "'")); 107 @selector(visibleCharacterRange), "'"));
108 Add(false, Format(node, "visited='", @selector(visited), "'")); 108 Add(false, Format(node, "visited='", @selector(visited), "'"));
109 Add(false, FormatPosition(node)); 109 Add(false, FormatPosition(node));
110 Add(false, FormatSize(node)); 110 Add(false, FormatSize(node));
111 111
112 return ASCIIToUTF16(prefix) + FinishLine() + ASCIIToUTF16("\n"); 112 return ASCIIToUTF16(prefix) + FinishLine() + ASCIIToUTF16("\n");
113 } 113 }
114 114
115 const FilePath::StringType DumpAccessibilityTreeHelper::GetActualFileSuffix() 115 const base::FilePath::StringType
116 DumpAccessibilityTreeHelper::GetActualFileSuffix()
116 const { 117 const {
117 return FILE_PATH_LITERAL("-actual-mac.txt"); 118 return FILE_PATH_LITERAL("-actual-mac.txt");
118 } 119 }
119 120
120 const FilePath::StringType DumpAccessibilityTreeHelper::GetExpectedFileSuffix() 121 const base::FilePath::StringType
122 DumpAccessibilityTreeHelper::GetExpectedFileSuffix()
121 const { 123 const {
122 return FILE_PATH_LITERAL("-expected-mac.txt"); 124 return FILE_PATH_LITERAL("-expected-mac.txt");
123 } 125 }
124 126
125 const std::string DumpAccessibilityTreeHelper::GetAllowEmptyString() const { 127 const std::string DumpAccessibilityTreeHelper::GetAllowEmptyString() const {
126 return "@MAC-ALLOW-EMPTY:"; 128 return "@MAC-ALLOW-EMPTY:";
127 } 129 }
128 130
129 const std::string DumpAccessibilityTreeHelper::GetAllowString() const { 131 const std::string DumpAccessibilityTreeHelper::GetAllowString() const {
130 return "@MAC-ALLOW:"; 132 return "@MAC-ALLOW:";
131 } 133 }
132 134
133 const std::string DumpAccessibilityTreeHelper::GetDenyString() const { 135 const std::string DumpAccessibilityTreeHelper::GetDenyString() const {
134 return "@MAC-DENY:"; 136 return "@MAC-DENY:";
135 } 137 }
136 138
137 } // namespace content 139 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698