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

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

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 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
« no previous file with comments | « views/window/custom_frame_view.cc ('k') | views/window/window_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/theme_provider.h"
8 #include "views/widget/root_view.h" 7 #include "views/widget/root_view.h"
9 #include "views/widget/widget.h" 8 #include "views/widget/widget.h"
10 #include "views/window/window.h" 9 #include "views/window/window.h"
11 10
12 #if defined(OS_WIN) 11 #if !defined(OS_WIN)
13 #include "app/win_util.h"
14 #else
15 #include "views/window/hit_test.h" 12 #include "views/window/hit_test.h"
16 #endif 13 #endif
17 14
18 namespace views { 15 namespace views {
19 16
20 const int NonClientFrameView::kFrameShadowThickness = 1; 17 const int NonClientFrameView::kFrameShadowThickness = 1;
21 const int NonClientFrameView::kClientEdgeThickness = 1; 18 const int NonClientFrameView::kClientEdgeThickness = 1;
22 19
23 // The frame view and the client view are always at these specific indices, 20 // The frame view and the client view are always at these specific indices,
24 // because the RootView message dispatch sends messages to items higher in the 21 // because the RootView message dispatch sends messages to items higher in the
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 bool NonClientFrameView::ShouldPaintAsActive() const { 249 bool NonClientFrameView::ShouldPaintAsActive() const {
253 return GetWindow()->IsActive() || paint_as_active_; 250 return GetWindow()->IsActive() || paint_as_active_;
254 } 251 }
255 252
256 bool NonClientFrameView::GetAccessibleRole(AccessibilityTypes::Role* role) { 253 bool NonClientFrameView::GetAccessibleRole(AccessibilityTypes::Role* role) {
257 *role = AccessibilityTypes::ROLE_WINDOW; 254 *role = AccessibilityTypes::ROLE_WINDOW;
258 return true; 255 return true;
259 } 256 }
260 257
261 } // namespace views 258 } // namespace views
OLDNEW
« no previous file with comments | « views/window/custom_frame_view.cc ('k') | views/window/window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698