| Index: ui/views/controls/image_view.cc
|
| diff --git a/ui/views/controls/image_view.cc b/ui/views/controls/image_view.cc
|
| index e7417eac616e98373d1f3fe31a2676b9b2236de5..01f301103950537859673fe252f8d65ed02a655e 100644
|
| --- a/ui/views/controls/image_view.cc
|
| +++ b/ui/views/controls/image_view.cc
|
| @@ -26,6 +26,9 @@ void* GetBitmapPixels(const gfx::ImageSkia& img, float image_scale) {
|
|
|
| } // namespace
|
|
|
| +// static
|
| +const char ImageView::kViewClassName[] = "ImageView";
|
| +
|
| ImageView::ImageView()
|
| : image_size_set_(false),
|
| horiz_alignment_(CENTER),
|
| @@ -166,6 +169,10 @@ void ImageView::GetAccessibleState(ui::AXViewState* state) {
|
| state->name = tooltip_text_;
|
| }
|
|
|
| +const char* ImageView::GetClassName() const {
|
| + return kViewClassName;
|
| +}
|
| +
|
| void ImageView::SetHorizontalAlignment(Alignment ha) {
|
| if (ha != horiz_alignment_) {
|
| horiz_alignment_ = ha;
|
|
|