| Index: views/window/non_client_view.cc
|
| diff --git a/views/window/non_client_view.cc b/views/window/non_client_view.cc
|
| index 021914f441498e8f7ea81d20467117befa94f9e0..5830d733acea99e39460f85603bc90c50a9c7ef6 100644
|
| --- a/views/window/non_client_view.cc
|
| +++ b/views/window/non_client_view.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 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.
|
|
|
| @@ -168,6 +168,11 @@ void NonClientView::ViewHierarchyChanged(bool is_add, View* parent,
|
| }
|
| }
|
|
|
| +void NonClientView::GetAccessibleState(ui::AccessibleViewState* state) {
|
| + state->role = ui::AccessibilityTypes::ROLE_WINDOW;
|
| + state->name = accessible_name_;
|
| +}
|
| +
|
| views::View* NonClientView::GetEventHandlerForPoint(const gfx::Point& point) {
|
| // Because of the z-ordering of our child views (the client view is positioned
|
| // over the non-client frame view, if the client view ever overlaps the frame
|
| @@ -184,11 +189,6 @@ views::View* NonClientView::GetEventHandlerForPoint(const gfx::Point& point) {
|
| return View::GetEventHandlerForPoint(point);
|
| }
|
|
|
| -void NonClientView::GetAccessibleState(ui::AccessibleViewState* state) {
|
| - state->role = ui::AccessibilityTypes::ROLE_WINDOW;
|
| - state->name = accessible_name_;
|
| -}
|
| -
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // NonClientFrameView, View overrides:
|
|
|
|
|