Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Side by Side Diff: views/window/non_client_view.cc

Issue 6904160: Implement new gray mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed power test Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698