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

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

Issue 6721021: Move a bunch of renderer->browser messages to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_WEBACCESSIBILITY_H_ 5 #ifndef WEBKIT_GLUE_WEBACCESSIBILITY_H_
6 #define WEBKIT_GLUE_WEBACCESSIBILITY_H_ 6 #define WEBKIT_GLUE_WEBACCESSIBILITY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" 12 #include "ui/gfx/rect.h"
13 13
14 namespace WebKit { 14 namespace WebKit {
15 class WebAccessibilityCache; 15 class WebAccessibilityCache;
16 class WebAccessibilityObject; 16 class WebAccessibilityObject;
17 } 17 }
18 18
19 namespace webkit_glue { 19 namespace webkit_glue {
20 20
21 // A compact representation of the accessibility information for a 21 // A compact representation of the accessibility information for a
22 // single web object, in a form that can be serialized and sent from 22 // single web object, in a form that can be serialized and sent from
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 const WebKit::WebAccessibilityObject& child); 206 const WebKit::WebAccessibilityObject& child);
207 207
208 public: 208 public:
209 // This is a simple serializable struct. All member variables should be 209 // This is a simple serializable struct. All member variables should be
210 // copyable. 210 // copyable.
211 int32 id; 211 int32 id;
212 string16 name; 212 string16 name;
213 string16 value; 213 string16 value;
214 Role role; 214 Role role;
215 uint32 state; 215 uint32 state;
216 WebKit::WebRect location; 216 gfx::Rect location;
217 std::map<int32, string16> attributes; 217 std::map<int32, string16> attributes;
218 std::vector<WebAccessibility> children; 218 std::vector<WebAccessibility> children;
219 std::vector<int32> indirect_child_ids; 219 std::vector<int32> indirect_child_ids;
220 std::vector<std::pair<string16, string16> > html_attributes; 220 std::vector<std::pair<string16, string16> > html_attributes;
221 }; 221 };
222 222
223 } // namespace webkit_glue 223 } // namespace webkit_glue
224 224
225 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_ 225 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698