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

Side by Side Diff: content/browser/accessibility/accessibility_tree_formatter.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
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 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_
7 7
8 #include <stdint.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/macros.h"
11 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
12 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
13 #include "base/values.h" 16 #include "base/values.h"
14 #include "content/browser/accessibility/browser_accessibility.h" 17 #include "content/browser/accessibility/browser_accessibility.h"
15 #include "content/common/content_export.h" 18 #include "content/common/content_export.h"
16 19
17 namespace content { 20 namespace content {
18 21
19 class WebContents; 22 class WebContents;
20 23
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // <p>Text</p> 110 // <p>Text</p>
108 virtual const std::string GetAllowEmptyString() = 0; 111 virtual const std::string GetAllowEmptyString() = 0;
109 virtual const std::string GetAllowString() = 0; 112 virtual const std::string GetAllowString() = 0;
110 virtual const std::string GetDenyString() = 0; 113 virtual const std::string GetDenyString() = 0;
111 114
112 protected: 115 protected:
113 // 116 //
114 // Overridden by platform subclasses. 117 // Overridden by platform subclasses.
115 // 118 //
116 119
117 virtual uint32 ChildCount(const BrowserAccessibility& node) const; 120 virtual uint32_t ChildCount(const BrowserAccessibility& node) const;
118 121
119 virtual BrowserAccessibility* GetChild( 122 virtual BrowserAccessibility* GetChild(const BrowserAccessibility& node,
120 const BrowserAccessibility& node, uint32 i) const; 123 uint32_t i) const;
121 124
122 // Add the attributes for each node into the given dict. 125 // Add the attributes for each node into the given dict.
123 virtual void AddProperties(const BrowserAccessibility& node, 126 virtual void AddProperties(const BrowserAccessibility& node,
124 base::DictionaryValue* dict) = 0; 127 base::DictionaryValue* dict) = 0;
125 128
126 // Returns a platform specific representation of a BrowserAccessibility. 129 // Returns a platform specific representation of a BrowserAccessibility.
127 virtual base::string16 ToString(const base::DictionaryValue& node) = 0; 130 virtual base::string16 ToString(const base::DictionaryValue& node) = 0;
128 131
129 // 132 //
130 // Utility functions to be used by each platform. 133 // Utility functions to be used by each platform.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 165
163 // Whether or not node ids should be included in the dump. 166 // Whether or not node ids should be included in the dump.
164 bool show_ids_; 167 bool show_ids_;
165 168
166 DISALLOW_COPY_AND_ASSIGN(AccessibilityTreeFormatter); 169 DISALLOW_COPY_AND_ASSIGN(AccessibilityTreeFormatter);
167 }; 170 };
168 171
169 } // namespace content 172 } // namespace content
170 173
171 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ 174 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698