Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
|
msw
2016/11/11 15:55:01
nit: no (c) for new files; ditto in cc file
lgarron
2016/11/11 22:28:51
Done.
(Took me a while to figure out you meant to
msw
2016/11/11 22:34:23
Sorry for being unclear... our C++ style guide exp
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_NON_ACCESSIBLE_IMAGE_VIEW_H_ | |
| 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_NON_ACCESSIBLE_IMAGE_VIEW_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "ui/accessibility/ax_enums.h" | |
|
msw
2016/11/11 15:55:01
nit: move to cc file
lgarron
2016/11/11 22:28:50
Done.
| |
| 10 #include "ui/accessibility/ax_node_data.h" | |
|
msw
2016/11/11 15:55:01
optional nit: rely on the transitive include/forwa
lgarron
2016/11/11 22:28:51
Done.
| |
| 11 #include "ui/views/controls/image_view.h" | |
| 12 | |
| 13 class NonAccessibleImageView : public views::ImageView { | |
| 14 public: | |
| 15 NonAccessibleImageView() {} | |
| 16 ~NonAccessibleImageView() override {} | |
| 17 | |
| 18 private: | |
| 19 // Overridden from views::ImageView. | |
| 20 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; | |
| 21 | |
| 22 DISALLOW_COPY_AND_ASSIGN(NonAccessibleImageView); | |
| 23 }; | |
| 24 | |
| 25 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_NON_ACCESSIBLE_IMAGE_VIEW_H_ | |
| OLD | NEW |