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

Unified Diff: ui/views/accessibility/native_view_accessibility_stub.cc

Issue 2746813002: Hide AXPlatformNode on ChromeOS. (Closed)
Patch Set: fix stub Created 3 years, 9 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
Index: ui/views/accessibility/native_view_accessibility_stub.cc
diff --git a/ui/views/accessibility/native_view_accessibility_stub.cc b/ui/views/accessibility/native_view_accessibility_stub.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e40582b10541f98c8d872ba6f8ea43d0070ea221
--- /dev/null
+++ b/ui/views/accessibility/native_view_accessibility_stub.cc
@@ -0,0 +1,15 @@
+// Copyright 2017 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.
+
+#include "ui/views/accessibility/native_view_accessibility_base.h"
+
+namespace views {
+
+// static
+std::unique_ptr<NativeViewAccessibilityBase>
+NativeViewAccessibilityBase::Create(View* view) {
+ return nullptr;
tapted 2017/03/20 10:36:11 we could also return a dummy object here, but view
dmazzoni 2017/03/20 15:44:06 Semantically this approach seems more clear than a
+}
+
+} // namespace views

Powered by Google App Engine
This is Rietveld 408576698