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

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

Issue 681503002: Add Android AX functions to set the value and selection of a text field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@link_text_from_image
Patch Set: Fix compile Created 6 years, 1 month 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 | « no previous file | content/browser/accessibility/browser_accessibility_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_ACCESSIBILITY_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_
7 7
8 #include "base/android/scoped_java_ref.h" 8 #include "base/android/scoped_java_ref.h"
9 #include "content/browser/accessibility/browser_accessibility.h" 9 #include "content/browser/accessibility/browser_accessibility.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 class BrowserAccessibilityAndroid : public BrowserAccessibility { 13 class BrowserAccessibilityAndroid : public BrowserAccessibility {
14 public: 14 public:
15 // Overrides from BrowserAccessibility. 15 // Overrides from BrowserAccessibility.
16 virtual void OnDataChanged() override; 16 virtual void OnDataChanged() override;
17 virtual bool IsNative() const override; 17 virtual bool IsNative() const override;
18 virtual void OnLocationChanged() override; 18 virtual void OnLocationChanged() override;
19 19
20 virtual bool PlatformIsLeaf() const override; 20 virtual bool PlatformIsLeaf() const override;
21 21
22 bool IsCheckable() const; 22 bool IsCheckable() const;
23 bool IsChecked() const; 23 bool IsChecked() const;
24 bool IsClickable() const; 24 bool IsClickable() const;
25 bool IsCollection() const; 25 bool IsCollection() const;
26 bool IsCollectionItem() const; 26 bool IsCollectionItem() const;
27 bool IsContentInvalid() const; 27 bool IsContentInvalid() const;
28 bool IsDismissable() const; 28 bool IsDismissable() const;
29 bool IsEditableText() const;
29 bool IsEnabled() const; 30 bool IsEnabled() const;
30 bool IsFocusable() const; 31 bool IsFocusable() const;
31 bool IsFocused() const; 32 bool IsFocused() const;
32 bool IsHeading() const; 33 bool IsHeading() const;
33 bool IsHierarchical() const; 34 bool IsHierarchical() const;
34 bool IsLink() const; 35 bool IsLink() const;
35 bool IsMultiLine() const; 36 bool IsMultiLine() const;
36 bool IsPassword() const; 37 bool IsPassword() const;
37 bool IsRangeType() const; 38 bool IsRangeType() const;
38 bool IsScrollable() const; 39 bool IsScrollable() const;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 bool first_time_; 98 bool first_time_;
98 base::string16 old_value_; 99 base::string16 old_value_;
99 base::string16 new_value_; 100 base::string16 new_value_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); 102 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid);
102 }; 103 };
103 104
104 } // namespace content 105 } // namespace content
105 106
106 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ 107 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698