summaryrefslogtreecommitdiffstats
path: root/views/window/non_client_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/non_client_view.cc')
-rw-r--r--views/window/non_client_view.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/window/non_client_view.cc b/views/window/non_client_view.cc
index 021914f..5830d73 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: