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

Unified Diff: content/browser/accessibility/browser_accessibility_gtk.h

Issue 10382222: Cache accessibility description rather than returning temporary. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_gtk.h
diff --git a/content/browser/accessibility/browser_accessibility_gtk.h b/content/browser/accessibility/browser_accessibility_gtk.h
index 15dc88e177a3a71dd982c469ce4adb5df6c05081..088275b551d931259c7c2a9650349e7b0803b658 100644
--- a/content/browser/accessibility/browser_accessibility_gtk.h
+++ b/content/browser/accessibility/browser_accessibility_gtk.h
@@ -71,6 +71,7 @@ class BrowserAccessibilityGtk : public BrowserAccessibility {
AtkRole atk_role() { return atk_role_; }
const std::string& atk_acc_name() { return atk_acc_name_; }
+ const std::string& atk_acc_description() { return atk_acc_description_; }
// BrowserAccessibility methods.
virtual void PreInitialize() OVERRIDE;
@@ -85,6 +86,7 @@ class BrowserAccessibilityGtk : public BrowserAccessibility {
AtkObject* atk_object_;
AtkRole atk_role_;
std::string atk_acc_name_;
+ std::string atk_acc_description_;
private:
DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityGtk);
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698