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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 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 12 matching lines...) Expand all
23 bool IsClickable() const; 23 bool IsClickable() const;
24 bool IsEnabled() const; 24 bool IsEnabled() const;
25 bool IsFocusable() const; 25 bool IsFocusable() const;
26 bool IsFocused() const; 26 bool IsFocused() const;
27 bool IsPassword() const; 27 bool IsPassword() const;
28 bool IsScrollable() const; 28 bool IsScrollable() const;
29 bool IsSelected() const; 29 bool IsSelected() const;
30 bool IsVisibleToUser() const; 30 bool IsVisibleToUser() const;
31 31
32 const char* GetClassName() const; 32 const char* GetClassName() const;
33 string16 GetText() const; 33 base::string16 GetText() const;
34 34
35 int GetItemIndex() const; 35 int GetItemIndex() const;
36 int GetItemCount() const; 36 int GetItemCount() const;
37 37
38 int GetScrollX() const; 38 int GetScrollX() const;
39 int GetScrollY() const; 39 int GetScrollY() const;
40 int GetMaxScrollX() const; 40 int GetMaxScrollX() const;
41 int GetMaxScrollY() const; 41 int GetMaxScrollY() const;
42 42
43 int GetTextChangeFromIndex() const; 43 int GetTextChangeFromIndex() const;
44 int GetTextChangeAddedCount() const; 44 int GetTextChangeAddedCount() const;
45 int GetTextChangeRemovedCount() const; 45 int GetTextChangeRemovedCount() const;
46 string16 GetTextChangeBeforeText() const; 46 base::string16 GetTextChangeBeforeText() const;
47 47
48 int GetSelectionStart() const; 48 int GetSelectionStart() const;
49 int GetSelectionEnd() const; 49 int GetSelectionEnd() const;
50 int GetEditableTextLength() const; 50 int GetEditableTextLength() const;
51 51
52 private: 52 private:
53 // This gives BrowserAccessibility::Create access to the class constructor. 53 // This gives BrowserAccessibility::Create access to the class constructor.
54 friend class BrowserAccessibility; 54 friend class BrowserAccessibility;
55 55
56 BrowserAccessibilityAndroid(); 56 BrowserAccessibilityAndroid();
57 57
58 bool HasFocusableChild() const; 58 bool HasFocusableChild() const;
59 bool HasOnlyStaticTextChildren() const; 59 bool HasOnlyStaticTextChildren() const;
60 bool IsIframe() const; 60 bool IsIframe() const;
61 61
62 void NotifyLiveRegionUpdate(string16& aria_live); 62 void NotifyLiveRegionUpdate(base::string16& aria_live);
63 63
64 string16 cached_text_; 64 base::string16 cached_text_;
65 bool first_time_; 65 bool first_time_;
66 string16 old_value_; 66 base::string16 old_value_;
67 string16 new_value_; 67 base::string16 new_value_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); 69 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid);
70 }; 70 };
71 71
72 } // namespace content 72 } // namespace content
73 73
74 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ 74 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility.cc ('k') | content/browser/accessibility/browser_accessibility_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698