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

Side by Side Diff: content/browser/accessibility/ax_tree_id_registry.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_AX_TREE_ID_REGISTRY_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_AX_TREE_ID_REGISTRY_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_AX_TREE_ID_REGISTRY_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_AX_TREE_ID_REGISTRY_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h"
10 #include "base/stl_util.h" 11 #include "base/stl_util.h"
12
11 namespace base { 13 namespace base {
12 template <typename T> 14 template <typename T>
13 struct DefaultSingletonTraits; 15 struct DefaultSingletonTraits;
14 } // namespace base 16 } // namespace base
15 17
16 namespace content { 18 namespace content {
17 19
18 // A class which generates a unique id given a process id and frame routing id. 20 // A class which generates a unique id given a process id and frame routing id.
19 class AXTreeIDRegistry { 21 class AXTreeIDRegistry {
20 public: 22 public:
(...skipping 26 matching lines...) Expand all
47 49
48 // Maps frames to an accessibility tree via ids. 50 // Maps frames to an accessibility tree via ids.
49 std::map<FrameID, AXTreeID> frame_to_ax_tree_id_map_; 51 std::map<FrameID, AXTreeID> frame_to_ax_tree_id_map_;
50 52
51 DISALLOW_COPY_AND_ASSIGN(AXTreeIDRegistry); 53 DISALLOW_COPY_AND_ASSIGN(AXTreeIDRegistry);
52 }; 54 };
53 55
54 } // namespace content 56 } // namespace content
55 57
56 #endif // CONTENT_BROWSER_ACCESSIBILITY_AX_TREE_ID_REGISTRY_H_ 58 #endif // CONTENT_BROWSER_ACCESSIBILITY_AX_TREE_ID_REGISTRY_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/accessibility_win_browsertest.cc ('k') | content/browser/accessibility/browser_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698