| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // views::NonClientFrameView: | 51 // views::NonClientFrameView: |
| 52 gfx::Rect GetBoundsForClientView() const override; | 52 gfx::Rect GetBoundsForClientView() const override; |
| 53 gfx::Rect GetWindowBoundsForClientBounds( | 53 gfx::Rect GetWindowBoundsForClientBounds( |
| 54 const gfx::Rect& client_bounds) const override; | 54 const gfx::Rect& client_bounds) const override; |
| 55 int NonClientHitTest(const gfx::Point& point) override; | 55 int NonClientHitTest(const gfx::Point& point) override; |
| 56 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; | 56 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; |
| 57 void ResetWindowControls() override; | 57 void ResetWindowControls() override; |
| 58 void UpdateWindowIcon() override; | 58 void UpdateWindowIcon() override; |
| 59 void UpdateWindowTitle() override; | 59 void UpdateWindowTitle() override; |
| 60 void SizeConstraintsChanged() override; | 60 void SizeConstraintsChanged() override; |
| 61 void ActivationChanged(bool active) override; |
| 61 | 62 |
| 62 // views::View: | 63 // views::View: |
| 63 gfx::Size GetPreferredSize() const override; | 64 gfx::Size GetPreferredSize() const override; |
| 64 void Layout() override; | 65 void Layout() override; |
| 65 const char* GetClassName() const override; | 66 const char* GetClassName() const override; |
| 66 gfx::Size GetMinimumSize() const override; | 67 gfx::Size GetMinimumSize() const override; |
| 67 gfx::Size GetMaximumSize() const override; | 68 gfx::Size GetMaximumSize() const override; |
| 68 void SchedulePaintInRect(const gfx::Rect& r) override; | 69 void SchedulePaintInRect(const gfx::Rect& r) override; |
| 69 void VisibilityChanged(views::View* starting_from, bool is_visible) override; | 70 void VisibilityChanged(views::View* starting_from, bool is_visible) override; |
| 70 | 71 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 98 // Updates the hittest bounds overrides based on the window state type. | 99 // Updates the hittest bounds overrides based on the window state type. |
| 99 std::unique_ptr<FrameBorderHitTestController> | 100 std::unique_ptr<FrameBorderHitTestController> |
| 100 frame_border_hit_test_controller_; | 101 frame_border_hit_test_controller_; |
| 101 | 102 |
| 102 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh); | 103 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh); |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace ash | 106 } // namespace ash |
| 106 | 107 |
| 107 #endif // ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ | 108 #endif // ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ |
| OLD | NEW |