| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_NON_ACCESSIBLE_IMAGE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAGE_INFO_NON_ACCESSIBLE_IMAGE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_NON_ACCESSIBLE_IMAGE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_NON_ACCESSIBLE_IMAGE_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/views/controls/image_view.h" | 9 #include "ui/views/controls/image_view.h" |
| 10 | 10 |
| 11 class NonAccessibleImageView : public views::ImageView { | 11 class NonAccessibleImageView : public views::ImageView { |
| 12 public: | 12 public: |
| 13 NonAccessibleImageView() {} | 13 NonAccessibleImageView() {} |
| 14 ~NonAccessibleImageView() override {} | 14 ~NonAccessibleImageView() override {} |
| 15 | 15 |
| 16 private: | 16 private: |
| 17 // Overridden from views::ImageView. | 17 // Overridden from views::ImageView. |
| 18 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; | 18 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 19 | 19 |
| 20 DISALLOW_COPY_AND_ASSIGN(NonAccessibleImageView); | 20 DISALLOW_COPY_AND_ASSIGN(NonAccessibleImageView); |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_NON_ACCESSIBLE_IMAGE_VIEW_H_ | 23 #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_NON_ACCESSIBLE_IMAGE_VIEW_H_ |
| OLD | NEW |