| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "views/window/non_client_view.h" | 5 #include "views/window/non_client_view.h" |
| 6 | 6 |
| 7 #include "ui/base/accessibility/accessible_view_state.h" | 7 #include "ui/base/accessibility/accessible_view_state.h" |
| 8 #include "views/widget/root_view.h" | 8 #include "views/widget/root_view.h" |
| 9 #include "views/widget/widget.h" | 9 #include "views/widget/widget.h" |
| 10 #include "views/window/client_view.h" | 10 #include "views/window/client_view.h" |
| 11 #include "views/window/window.h" | 11 #include "views/window/window.h" |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 void NonClientFrameView::GetAccessibleState(ui::AccessibleViewState* state) { | 265 void NonClientFrameView::GetAccessibleState(ui::AccessibleViewState* state) { |
| 266 state->role = ui::AccessibilityTypes::ROLE_WINDOW; | 266 state->role = ui::AccessibilityTypes::ROLE_WINDOW; |
| 267 } | 267 } |
| 268 | 268 |
| 269 void NonClientFrameView::OnBoundsChanged(const gfx::Rect& previous_bounds) { | 269 void NonClientFrameView::OnBoundsChanged(const gfx::Rect& previous_bounds) { |
| 270 // Overridden to do nothing. The NonClientView manually calls Layout on the | 270 // Overridden to do nothing. The NonClientView manually calls Layout on the |
| 271 // FrameView when it is itself laid out, see comment in NonClientView::Layout. | 271 // FrameView when it is itself laid out, see comment in NonClientView::Layout. |
| 272 } | 272 } |
| 273 | 273 |
| 274 } // namespace views | 274 } // namespace views |
| OLD | NEW |