| OLD | NEW |
| 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 #ifndef UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_ | 5 #ifndef UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_ |
| 6 #define UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_ | 6 #define UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_ |
| 7 | 7 |
| 8 #include "ui/views/window/non_client_view.h" | 8 #include "ui/views/window/non_client_view.h" |
| 9 | 9 |
| 10 namespace views { | 10 namespace views { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 virtual gfx::Rect GetWindowBoundsForClientBounds( | 21 virtual gfx::Rect GetWindowBoundsForClientBounds( |
| 22 const gfx::Rect& client_bounds) const OVERRIDE; | 22 const gfx::Rect& client_bounds) const OVERRIDE; |
| 23 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 23 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
| 24 virtual void GetWindowMask(const gfx::Size& size, | 24 virtual void GetWindowMask(const gfx::Size& size, |
| 25 gfx::Path* window_mask) OVERRIDE; | 25 gfx::Path* window_mask) OVERRIDE; |
| 26 virtual void ResetWindowControls() OVERRIDE; | 26 virtual void ResetWindowControls() OVERRIDE; |
| 27 virtual void UpdateWindowIcon() OVERRIDE; | 27 virtual void UpdateWindowIcon() OVERRIDE; |
| 28 virtual void UpdateWindowTitle() OVERRIDE; | 28 virtual void UpdateWindowTitle() OVERRIDE; |
| 29 | 29 |
| 30 // View overrides: | 30 // View overrides: |
| 31 virtual gfx::Size GetPreferredSize() OVERRIDE; | 31 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
| 32 virtual gfx::Size GetMinimumSize() OVERRIDE; | 32 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 33 virtual gfx::Size GetMaximumSize() OVERRIDE; | 33 virtual gfx::Size GetMaximumSize() OVERRIDE; |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 // Our containing frame. | 36 // Our containing frame. |
| 37 Widget* frame_; | 37 Widget* frame_; |
| 38 | 38 |
| 39 DISALLOW_COPY_AND_ASSIGN(NativeFrameView); | 39 DISALLOW_COPY_AND_ASSIGN(NativeFrameView); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace views | 42 } // namespace views |
| 43 | 43 |
| 44 #endif // UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_ | 44 #endif // UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_ |
| OLD | NEW |