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

Side by Side Diff: webkit/glue/glue_accessibility.h

Issue 18622: POSIX: Porting renderer/render_process.cc, low hanging fruit (Closed)
Patch Set: Created 11 years, 11 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
« no previous file with comments | « chrome/renderer/renderer.scons ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ 5 #ifndef WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_
6 #define WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ 6 #define WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_
7 7
8 #include "build/build_config.h"
9
10 #if defined(OS_WIN)
11 // TODO(port): For the moment, this whole file is skipped because it uses COM
12 // interfaces etc.
13
8 #include <oleacc.h> 14 #include <oleacc.h>
9 #include <hash_map> 15 #include <hash_map>
10 16
11 #include "chrome/common/render_messages.h" 17 #include "chrome/common/render_messages.h"
12 18
13 class WebView; 19 class WebView;
14 20
15 template <typename T> class COMPtr; 21 template <typename T> class COMPtr;
16 22
17 typedef stdext::hash_map<int, scoped_refptr<IAccessible> > IntToIAccessibleMap; 23 typedef stdext::hash_map<int, scoped_refptr<IAccessible> > IntToIAccessibleMap;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // pointer to its id (int). Needed for reverse lookup, to ensure unnecessary 66 // pointer to its id (int). Needed for reverse lookup, to ensure unnecessary
61 // duplicate entries are not created in the IntToIAccessibleMap (above). 67 // duplicate entries are not created in the IntToIAccessibleMap (above).
62 IAccessibleToIntMap iaccessible_to_int_map_; 68 IAccessibleToIntMap iaccessible_to_int_map_;
63 69
64 // Unique identifier for retrieving an IAccessible from the page's hashmap. 70 // Unique identifier for retrieving an IAccessible from the page's hashmap.
65 int iaccessible_id_; 71 int iaccessible_id_;
66 72
67 DISALLOW_COPY_AND_ASSIGN(GlueAccessibility); 73 DISALLOW_COPY_AND_ASSIGN(GlueAccessibility);
68 }; 74 };
69 75
76 #else // defined(OS_WIN)
77
78 class GlueAccessibility {
79 };
80
81 #endif
82
70 #endif // WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ 83 #endif // WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « chrome/renderer/renderer.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698