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

Unified Diff: ui/views/accessibility/native_view_accessibility_mac.h

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files Created 6 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 | « ui/native_theme/native_theme_mac.mm ('k') | ui/views/accessibility/native_view_accessibility_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/accessibility/native_view_accessibility_mac.h
diff --git a/ui/views/accessibility/native_view_accessibility_mac.h b/ui/views/accessibility/native_view_accessibility_mac.h
new file mode 100644
index 0000000000000000000000000000000000000000..620cb7b63c4c003cfd2410f79ef90fd8da5ac03c
--- /dev/null
+++ b/ui/views/accessibility/native_view_accessibility_mac.h
@@ -0,0 +1,29 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_VIEWS_CORE_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_MAC_H_
+#define UI_VIEWS_CORE_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_MAC_H_
+
+#include "ui/views/accessibility/native_view_accessibility.h"
+
+namespace views {
+
+class NativeViewAccessibilityMac : public NativeViewAccessibility {
+ public:
+ NativeViewAccessibilityMac(NSView* view);
+ virtual ~NativeViewAccessibilityMac();
+
+ virtual void NotifyAccessibilityEvent(ui::AXEvent event_type) OVERRIDE;
+
+ virtual gfx::NativeViewAccessible GetNativeObject() OVERRIDE;
+
+ private:
+ NSView* view_; // Weak. Owns us.
+
+ DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityMac);
+};
+
+} // namepsace views
+
+#endif // UI_VIEWS_CORE_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_MAC_H_
« no previous file with comments | « ui/native_theme/native_theme_mac.mm ('k') | ui/views/accessibility/native_view_accessibility_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698