OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/logging.h" | 5 #include "base/logging.h" |
6 #include "chrome/views/window/client_view.h" | 6 #include "chrome/views/window/client_view.h" |
| 7 #if defined(OS_LINUX) |
| 8 #include "chrome/views/window/hit_test.h" |
| 9 #endif |
7 #include "chrome/views/window/window.h" | 10 #include "chrome/views/window/window.h" |
8 #include "chrome/views/window/window_delegate.h" | 11 #include "chrome/views/window/window_delegate.h" |
9 | 12 |
10 namespace views { | 13 namespace views { |
11 | 14 |
12 /////////////////////////////////////////////////////////////////////////////// | 15 /////////////////////////////////////////////////////////////////////////////// |
13 // ClientView, public: | 16 // ClientView, public: |
14 | 17 |
15 ClientView::ClientView(Window* window, View* contents_view) | 18 ClientView::ClientView(Window* window, View* contents_view) |
16 : window_(window), | 19 : window_(window), |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 } | 55 } |
53 | 56 |
54 void ClientView::DidChangeBounds(const gfx::Rect& previous, | 57 void ClientView::DidChangeBounds(const gfx::Rect& previous, |
55 const gfx::Rect& current) { | 58 const gfx::Rect& current) { |
56 // Overridden to do nothing. The NonClientView manually calls Layout on the | 59 // Overridden to do nothing. The NonClientView manually calls Layout on the |
57 // ClientView when it is itself laid out, see comment in | 60 // ClientView when it is itself laid out, see comment in |
58 // NonClientView::Layout. | 61 // NonClientView::Layout. |
59 } | 62 } |
60 | 63 |
61 } // namespace views | 64 } // namespace views |
OLD | NEW |