| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_DELEGATE_H_ | 5 #ifndef ASH_COMMON_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_DELEGATE_H_ |
| 6 #define ASH_COMMON_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_DELEGATE_H_ | 6 #define ASH_COMMON_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/frame/caption_buttons/caption_button_types.h" | 9 #include "ash/common/frame/caption_buttons/caption_button_types.h" |
| 10 | 10 |
| 11 namespace gfx { | 11 namespace gfx { |
| 12 class Insets; | |
| 13 class Point; | 12 class Point; |
| 14 class Vector2d; | |
| 15 } | 13 } |
| 16 | 14 |
| 17 namespace ash { | 15 namespace ash { |
| 18 class FrameCaptionButton; | 16 class FrameCaptionButton; |
| 19 | 17 |
| 20 // Delegate interface for FrameSizeButton. | 18 // Delegate interface for FrameSizeButton. |
| 21 class ASH_EXPORT FrameSizeButtonDelegate { | 19 class ASH_EXPORT FrameSizeButtonDelegate { |
| 22 public: | 20 public: |
| 23 enum Animate { ANIMATE_YES, ANIMATE_NO }; | 21 enum Animate { ANIMATE_YES, ANIMATE_NO }; |
| 24 | 22 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 46 const FrameCaptionButton* to_hover, | 44 const FrameCaptionButton* to_hover, |
| 47 const FrameCaptionButton* to_press) = 0; | 45 const FrameCaptionButton* to_press) = 0; |
| 48 | 46 |
| 49 protected: | 47 protected: |
| 50 virtual ~FrameSizeButtonDelegate() {} | 48 virtual ~FrameSizeButtonDelegate() {} |
| 51 }; | 49 }; |
| 52 | 50 |
| 53 } // namespace ash | 51 } // namespace ash |
| 54 | 52 |
| 55 #endif // ASH_COMMON_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_DELEGATE_H_ | 53 #endif // ASH_COMMON_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_DELEGATE_H_ |
| OLD | NEW |