| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ | 5 #ifndef ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ |
| 6 #define ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ | 6 #define ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // views::NonClientFrameView: | 50 // views::NonClientFrameView: |
| 51 gfx::Rect GetBoundsForClientView() const override; | 51 gfx::Rect GetBoundsForClientView() const override; |
| 52 gfx::Rect GetWindowBoundsForClientBounds( | 52 gfx::Rect GetWindowBoundsForClientBounds( |
| 53 const gfx::Rect& client_bounds) const override; | 53 const gfx::Rect& client_bounds) const override; |
| 54 int NonClientHitTest(const gfx::Point& point) override; | 54 int NonClientHitTest(const gfx::Point& point) override; |
| 55 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; | 55 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; |
| 56 void ResetWindowControls() override; | 56 void ResetWindowControls() override; |
| 57 void UpdateWindowIcon() override; | 57 void UpdateWindowIcon() override; |
| 58 void UpdateWindowTitle() override; | 58 void UpdateWindowTitle() override; |
| 59 void SizeConstraintsChanged() override; | 59 void SizeConstraintsChanged() override; |
| 60 void ActivationChanged(bool active) override; |
| 60 | 61 |
| 61 // views::View: | 62 // views::View: |
| 62 gfx::Size GetPreferredSize() const override; | 63 gfx::Size GetPreferredSize() const override; |
| 63 void Layout() override; | 64 void Layout() override; |
| 64 const char* GetClassName() const override; | 65 const char* GetClassName() const override; |
| 65 gfx::Size GetMinimumSize() const override; | 66 gfx::Size GetMinimumSize() const override; |
| 66 gfx::Size GetMaximumSize() const override; | 67 gfx::Size GetMaximumSize() const override; |
| 67 void SchedulePaintInRect(const gfx::Rect& r) override; | 68 void SchedulePaintInRect(const gfx::Rect& r) override; |
| 68 void VisibilityChanged(views::View* starting_from, bool is_visible) override; | 69 void VisibilityChanged(views::View* starting_from, bool is_visible) override; |
| 69 | 70 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 93 // View which contains the title and window controls. | 94 // View which contains the title and window controls. |
| 94 class HeaderView; | 95 class HeaderView; |
| 95 HeaderView* header_view_; | 96 HeaderView* header_view_; |
| 96 | 97 |
| 97 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh); | 98 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh); |
| 98 }; | 99 }; |
| 99 | 100 |
| 100 } // namespace ash | 101 } // namespace ash |
| 101 | 102 |
| 102 #endif // ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ | 103 #endif // ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ |
| OLD | NEW |