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

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

Issue 639773012: On Android, unlabeled link containing image should use image url as name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@link_visible_text
Patch Set: Rebase 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
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 float RangeMax() const; 79 float RangeMax() const;
80 float RangeCurrentValue() const; 80 float RangeCurrentValue() const;
81 81
82 private: 82 private:
83 // This gives BrowserAccessibility::Create access to the class constructor. 83 // This gives BrowserAccessibility::Create access to the class constructor.
84 friend class BrowserAccessibility; 84 friend class BrowserAccessibility;
85 85
86 BrowserAccessibilityAndroid(); 86 BrowserAccessibilityAndroid();
87 87
88 bool HasOnlyStaticTextChildren() const; 88 bool HasOnlyStaticTextChildren() const;
89 bool HasOnlyTextAndImageChildren() const;
89 bool IsIframe() const; 90 bool IsIframe() const;
90 91
91 void NotifyLiveRegionUpdate(base::string16& aria_live); 92 void NotifyLiveRegionUpdate(base::string16& aria_live);
92 93
93 int CountChildrenWithRole(ui::AXRole role) const; 94 int CountChildrenWithRole(ui::AXRole role) const;
94 95
95 base::string16 cached_text_; 96 base::string16 cached_text_;
96 bool first_time_; 97 bool first_time_;
97 base::string16 old_value_; 98 base::string16 old_value_;
98 base::string16 new_value_; 99 base::string16 new_value_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); 101 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid);
101 }; 102 };
102 103
103 } // namespace content 104 } // namespace content
104 105
105 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ 106 #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