| 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_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ | 5 #ifndef ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ |
| 6 #define ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ | 6 #define ASH_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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 const gfx::Rect& client_bounds) const override; | 72 const gfx::Rect& client_bounds) const override; |
| 73 int NonClientHitTest(const gfx::Point& point) override; | 73 int NonClientHitTest(const gfx::Point& point) override; |
| 74 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; | 74 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; |
| 75 void ResetWindowControls() override; | 75 void ResetWindowControls() override; |
| 76 void UpdateWindowIcon() override; | 76 void UpdateWindowIcon() override; |
| 77 void UpdateWindowTitle() override; | 77 void UpdateWindowTitle() override; |
| 78 void SizeConstraintsChanged() override; | 78 void SizeConstraintsChanged() override; |
| 79 void ActivationChanged(bool active) override; | 79 void ActivationChanged(bool active) override; |
| 80 | 80 |
| 81 // views::View: | 81 // views::View: |
| 82 gfx::Size GetPreferredSize() const override; | 82 gfx::Size CalculatePreferredSize() const override; |
| 83 void Layout() override; | 83 void Layout() override; |
| 84 const char* GetClassName() const override; | 84 const char* GetClassName() const override; |
| 85 gfx::Size GetMinimumSize() const override; | 85 gfx::Size GetMinimumSize() const override; |
| 86 gfx::Size GetMaximumSize() const override; | 86 gfx::Size GetMaximumSize() const override; |
| 87 void SchedulePaintInRect(const gfx::Rect& r) override; | 87 void SchedulePaintInRect(const gfx::Rect& r) override; |
| 88 void VisibilityChanged(views::View* starting_from, bool is_visible) override; | 88 void VisibilityChanged(views::View* starting_from, bool is_visible) override; |
| 89 | 89 |
| 90 // Get the view of the header. | 90 // Get the view of the header. |
| 91 views::View* GetHeaderView(); | 91 views::View* GetHeaderView(); |
| 92 | 92 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 116 OverlayView* overlay_view_; | 116 OverlayView* overlay_view_; |
| 117 | 117 |
| 118 ImmersiveFullscreenControllerDelegate* immersive_delegate_; | 118 ImmersiveFullscreenControllerDelegate* immersive_delegate_; |
| 119 | 119 |
| 120 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh); | 120 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh); |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace ash | 123 } // namespace ash |
| 124 | 124 |
| 125 #endif // ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ | 125 #endif // ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ |
| OLD | NEW |