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

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

Issue 8497067: views: Remove the old views/window/ directory and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « ui/views/window/non_client_view.h ('k') | ui/views/window/window_shape.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) 2011 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 "ui/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 "ui/base/hit_test.h" 8 #include "ui/base/hit_test.h"
9 #include "ui/views/window/client_view.h"
9 #include "views/widget/root_view.h" 10 #include "views/widget/root_view.h"
10 #include "views/widget/widget.h" 11 #include "views/widget/widget.h"
11 #include "views/window/client_view.h"
12 12
13 namespace views { 13 namespace views {
14 14
15 // static 15 // static
16 const int NonClientFrameView::kFrameShadowThickness = 1; 16 const int NonClientFrameView::kFrameShadowThickness = 1;
17 const int NonClientFrameView::kClientEdgeThickness = 1; 17 const int NonClientFrameView::kClientEdgeThickness = 1;
18 const char NonClientFrameView::kViewClassName[] = 18 const char NonClientFrameView::kViewClassName[] =
19 "views/window/NonClientFrameView"; 19 "ui/views/window/NonClientFrameView";
20 20
21 const char NonClientView::kViewClassName[] = 21 const char NonClientView::kViewClassName[] =
22 "views/window/NonClientView"; 22 "ui/views/window/NonClientView";
23 23
24 // The frame view and the client view are always at these specific indices, 24 // The frame view and the client view are always at these specific indices,
25 // because the RootView message dispatch sends messages to items higher in the 25 // because the RootView message dispatch sends messages to items higher in the
26 // z-order first and we always want the client view to have first crack at 26 // z-order first and we always want the client view to have first crack at
27 // handling mouse messages. 27 // handling mouse messages.
28 static const int kFrameViewIndex = 0; 28 static const int kFrameViewIndex = 0;
29 static const int kClientViewIndex = 1; 29 static const int kClientViewIndex = 1;
30 30
31 //////////////////////////////////////////////////////////////////////////////// 31 ////////////////////////////////////////////////////////////////////////////////
32 // NonClientView, public: 32 // NonClientView, public:
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 std::string NonClientFrameView::GetClassName() const { 267 std::string NonClientFrameView::GetClassName() const {
268 return kViewClassName; 268 return kViewClassName;
269 } 269 }
270 270
271 void NonClientFrameView::OnBoundsChanged(const gfx::Rect& previous_bounds) { 271 void NonClientFrameView::OnBoundsChanged(const gfx::Rect& previous_bounds) {
272 // Overridden to do nothing. The NonClientView manually calls Layout on the 272 // Overridden to do nothing. The NonClientView manually calls Layout on the
273 // FrameView when it is itself laid out, see comment in NonClientView::Layout. 273 // FrameView when it is itself laid out, see comment in NonClientView::Layout.
274 } 274 }
275 275
276 } // namespace views 276 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/window/non_client_view.h ('k') | ui/views/window/window_shape.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698