| 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 #ifndef CHROME_BROWSER_CONSTRAINED_WINDOW_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CONSTRAINED_WINDOW_IMPL_H_ |
| 6 #define CHROME_BROWSER_CONSTRAINED_WINDOW_IMPL_H_ | 6 #define CHROME_BROWSER_CONSTRAINED_WINDOW_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/gfx/rect.h" | 8 #include "base/gfx/rect.h" |
| 9 #include "chrome/browser/tab_contents/constrained_window.h" | 9 #include "chrome/browser/tab_contents/constrained_window.h" |
| 10 #include "chrome/browser/tab_contents/tab_contents_delegate.h" | 10 #include "chrome/browser/tab_contents/tab_contents_delegate.h" |
| 11 #include "views/window/window_win.h" | 11 #include "views/window/window_win.h" |
| 12 | 12 |
| 13 class ConstrainedTabContentsWindowDelegate; | 13 class ConstrainedTabContentsWindowDelegate; |
| 14 class ConstrainedWindowAnimation; | 14 class ConstrainedWindowAnimation; |
| 15 class ConstrainedWindowFrameView; | 15 class ConstrainedWindowFrameView; |
| 16 namespace views { | 16 namespace views { |
| 17 class HWNDView; | |
| 18 class WindowDelegate; | 17 class WindowDelegate; |
| 19 } | 18 } |
| 20 | 19 |
| 21 /////////////////////////////////////////////////////////////////////////////// | 20 /////////////////////////////////////////////////////////////////////////////// |
| 22 // ConstrainedWindowImpl | 21 // ConstrainedWindowImpl |
| 23 // | 22 // |
| 24 // A ConstrainedWindow implementation that implements a Constrained Window as | 23 // A ConstrainedWindow implementation that implements a Constrained Window as |
| 25 // a child HWND with a custom window frame. | 24 // a child HWND with a custom window frame. |
| 26 // | 25 // |
| 27 class ConstrainedWindowImpl : public ConstrainedWindow, | 26 class ConstrainedWindowImpl : public ConstrainedWindow, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // the constrained title bar. | 78 // the constrained title bar. |
| 80 gfx::Point anchor_point_; | 79 gfx::Point anchor_point_; |
| 81 | 80 |
| 82 // Current display rectangle (relative to owner_'s visible area). | 81 // Current display rectangle (relative to owner_'s visible area). |
| 83 gfx::Rect current_bounds_; | 82 gfx::Rect current_bounds_; |
| 84 | 83 |
| 85 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowImpl); | 84 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowImpl); |
| 86 }; | 85 }; |
| 87 | 86 |
| 88 #endif // #ifndef CHROME_BROWSER_CONSTRAINED_WINDOW_IMPL_H_ | 87 #endif // #ifndef CHROME_BROWSER_CONSTRAINED_WINDOW_IMPL_H_ |
| OLD | NEW |