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

Unified Diff: chrome/browser/ui/views/website_settings/non_accessible_image_view.h

Issue 2491773002: Page Info (Views): remove images from accessibility order (Closed)
Patch Set: Address latest comments. Created 4 years, 1 month 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 | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/views/website_settings/non_accessible_image_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/website_settings/non_accessible_image_view.h
diff --git a/chrome/browser/ui/views/website_settings/non_accessible_image_view.h b/chrome/browser/ui/views/website_settings/non_accessible_image_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..80eb99564f4d412cf858b117fca4c5cd353abe03
--- /dev/null
+++ b/chrome/browser/ui/views/website_settings/non_accessible_image_view.h
@@ -0,0 +1,23 @@
+// Copyright 2016 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 CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_NON_ACCESSIBLE_IMAGE_VIEW_H_
+#define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_NON_ACCESSIBLE_IMAGE_VIEW_H_
+
+#include "base/macros.h"
+#include "ui/views/controls/image_view.h"
+
+class NonAccessibleImageView : public views::ImageView {
+ public:
+ NonAccessibleImageView() {}
+ ~NonAccessibleImageView() override {}
+
+ private:
+ // Overridden from views::ImageView.
+ void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
+
+ DISALLOW_COPY_AND_ASSIGN(NonAccessibleImageView);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_NON_ACCESSIBLE_IMAGE_VIEW_H_
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/views/website_settings/non_accessible_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698