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

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

Issue 21269002: Make AccessibilityNodeData more compact. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win test Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GTK_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_
7 7
8 #include <atk/atk.h> 8 #include <atk/atk.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 class BrowserAccessibilityGtk : public BrowserAccessibility { 62 class BrowserAccessibilityGtk : public BrowserAccessibility {
63 public: 63 public:
64 BrowserAccessibilityGtk(); 64 BrowserAccessibilityGtk();
65 65
66 virtual ~BrowserAccessibilityGtk(); 66 virtual ~BrowserAccessibilityGtk();
67 67
68 AtkObject* GetAtkObject() const; 68 AtkObject* GetAtkObject() const;
69 69
70 AtkRole atk_role() { return atk_role_; } 70 AtkRole atk_role() { return atk_role_; }
71 const std::string& atk_acc_name() { return atk_acc_name_; }
72 const std::string& atk_acc_description() { return atk_acc_description_; }
73 71
74 // BrowserAccessibility methods. 72 // BrowserAccessibility methods.
75 virtual void PreInitialize() OVERRIDE; 73 virtual void PreInitialize() OVERRIDE;
76 virtual bool IsNative() const OVERRIDE; 74 virtual bool IsNative() const OVERRIDE;
77 75
78 private: 76 private:
79 virtual void InitRoleAndState(); 77 virtual void InitRoleAndState();
80 78
81 // Give BrowserAccessibility::Create access to our constructor. 79 // Give BrowserAccessibility::Create access to our constructor.
82 friend class BrowserAccessibility; 80 friend class BrowserAccessibility;
83 81
84 AtkObject* atk_object_; 82 AtkObject* atk_object_;
85 AtkRole atk_role_; 83 AtkRole atk_role_;
86 std::string atk_acc_name_;
87 std::string atk_acc_description_;
88 int interface_mask_; 84 int interface_mask_;
89 85
90 private: 86 private:
91 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityGtk); 87 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityGtk);
92 }; 88 };
93 89
94 } // namespace content 90 } // namespace content
95 91
96 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ 92 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698