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 CHROME_FRAME_INFOBARS_INTERNAL_INFOBAR_WINDOW_H_ | 5 #ifndef CHROME_FRAME_INFOBARS_INTERNAL_INFOBAR_WINDOW_H_ |
6 #define CHROME_FRAME_INFOBARS_INTERNAL_INFOBAR_WINDOW_H_ | 6 #define CHROME_FRAME_INFOBARS_INTERNAL_INFOBAR_WINDOW_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/time.h" | 10 #include "base/time/time.h" |
11 | 11 |
12 #include "chrome_frame/infobars/infobar_content.h" | 12 #include "chrome_frame/infobars/infobar_content.h" |
13 #include "chrome_frame/infobars/infobar_manager.h" | 13 #include "chrome_frame/infobars/infobar_manager.h" |
14 | 14 |
15 struct FunctionStub; | 15 struct FunctionStub; |
16 | 16 |
17 // Manages the display of an InfobarContent instance within a container window. | 17 // Manages the display of an InfobarContent instance within a container window. |
18 // Positions the infobar content by displacing other "natural" content of the | 18 // Positions the infobar content by displacing other "natural" content of the |
19 // window (see ReserveSpace). Allows positioning either above or below the | 19 // window (see ReserveSpace). Allows positioning either above or below the |
20 // natural content. | 20 // natural content. |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 int target_height_; // Where we are sliding to | 99 int target_height_; // Where we are sliding to |
100 | 100 |
101 // ID and thunk for the slide-effect timer | 101 // ID and thunk for the slide-effect timer |
102 int timer_id_; | 102 int timer_id_; |
103 FunctionStub* timer_stub_; | 103 FunctionStub* timer_stub_; |
104 | 104 |
105 DISALLOW_COPY_AND_ASSIGN(InfobarWindow); | 105 DISALLOW_COPY_AND_ASSIGN(InfobarWindow); |
106 }; // class InfobarWindow | 106 }; // class InfobarWindow |
107 | 107 |
108 #endif // CHROME_FRAME_INFOBARS_INTERNAL_INFOBAR_WINDOW_H_ | 108 #endif // CHROME_FRAME_INFOBARS_INTERNAL_INFOBAR_WINDOW_H_ |
OLD | NEW |