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

Side by Side Diff: third_party/WebKit/public/web/WebAXObject.h

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Fixed rebase Created 3 years, 7 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 | « third_party/WebKit/Source/web/WebViewImpl.cpp ('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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 #include "../platform/WebPrivatePtr.h" 36 #include "../platform/WebPrivatePtr.h"
37 #include "../platform/WebSize.h" 37 #include "../platform/WebSize.h"
38 #include "../platform/WebVector.h" 38 #include "../platform/WebVector.h"
39 #include "WebAXEnums.h" 39 #include "WebAXEnums.h"
40 #include <memory> 40 #include <memory>
41 41
42 class SkMatrix44; 42 class SkMatrix44;
43 43
44 namespace blink { 44 namespace blink {
45 45
46 class AXObject; 46 class AXObjectImpl;
47 class ScopedAXObjectCache; 47 class ScopedAXObjectCache;
48 class WebAXObject; 48 class WebAXObject;
49 class WebNode; 49 class WebNode;
50 class WebDocument; 50 class WebDocument;
51 class WebString; 51 class WebString;
52 class WebURL; 52 class WebURL;
53 struct WebFloatRect; 53 struct WebFloatRect;
54 struct WebPoint; 54 struct WebPoint;
55 struct WebRect; 55 struct WebRect;
56 struct WebSize; 56 struct WebSize;
(...skipping 17 matching lines...) Expand all
74 public: 74 public:
75 BLINK_EXPORT WebScopedAXContext(WebDocument& root_document); 75 BLINK_EXPORT WebScopedAXContext(WebDocument& root_document);
76 BLINK_EXPORT ~WebScopedAXContext(); 76 BLINK_EXPORT ~WebScopedAXContext();
77 77
78 BLINK_EXPORT WebAXObject Root() const; 78 BLINK_EXPORT WebAXObject Root() const;
79 79
80 private: 80 private:
81 std::unique_ptr<ScopedAXObjectCache> private_; 81 std::unique_ptr<ScopedAXObjectCache> private_;
82 }; 82 };
83 83
84 // A container for passing around a reference to AXObject. 84 // A container for passing around a reference to AXObjectImpl.
85 class WebAXObject { 85 class WebAXObject {
86 public: 86 public:
87 ~WebAXObject() { Reset(); } 87 ~WebAXObject() { Reset(); }
88 88
89 WebAXObject() {} 89 WebAXObject() {}
90 WebAXObject(const WebAXObject& o) { Assign(o); } 90 WebAXObject(const WebAXObject& o) { Assign(o); }
91 WebAXObject& operator=(const WebAXObject& o) { 91 WebAXObject& operator=(const WebAXObject& o) {
92 Assign(o); 92 Assign(o);
93 return *this; 93 return *this;
94 } 94 }
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 // needed. 346 // needed.
347 BLINK_EXPORT void ScrollToMakeVisible() const; 347 BLINK_EXPORT void ScrollToMakeVisible() const;
348 // Same, but if the whole object can't be made visible, try for this subrect, 348 // Same, but if the whole object can't be made visible, try for this subrect,
349 // in local coordinates. 349 // in local coordinates.
350 BLINK_EXPORT void ScrollToMakeVisibleWithSubFocus(const WebRect&) const; 350 BLINK_EXPORT void ScrollToMakeVisibleWithSubFocus(const WebRect&) const;
351 // Scroll this object to a given point in global coordinates of the top-level 351 // Scroll this object to a given point in global coordinates of the top-level
352 // window. 352 // window.
353 BLINK_EXPORT void ScrollToGlobalPoint(const WebPoint&) const; 353 BLINK_EXPORT void ScrollToGlobalPoint(const WebPoint&) const;
354 354
355 #if BLINK_IMPLEMENTATION 355 #if BLINK_IMPLEMENTATION
356 WebAXObject(AXObject*); 356 WebAXObject(AXObjectImpl*);
357 WebAXObject& operator=(AXObject*); 357 WebAXObject& operator=(AXObjectImpl*);
358 operator AXObject*() const; 358 operator AXObjectImpl*() const;
359 #endif 359 #endif
360 360
361 private: 361 private:
362 WebPrivatePtr<AXObject> private_; 362 WebPrivatePtr<AXObjectImpl> private_;
363 }; 363 };
364 364
365 } // namespace blink 365 } // namespace blink
366 366
367 #endif 367 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698