OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_READY_MODE_INTERNAL_READY_PROMPT_WINDOW_H_ | 5 #ifndef CHROME_FRAME_READY_MODE_INTERNAL_READY_PROMPT_WINDOW_H_ |
6 #define CHROME_FRAME_READY_MODE_INTERNAL_READY_PROMPT_WINDOW_H_ | 6 #define CHROME_FRAME_READY_MODE_INTERNAL_READY_PROMPT_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
11 #include <atlcrack.h> | 11 #include <atlcrack.h> |
12 #include <atlframe.h> | 12 #include <atlframe.h> |
13 #include <atlwin.h> | 13 #include <atlwin.h> |
14 | 14 |
15 #include "base/weak_ptr.h" | 15 #include "base/weak_ptr.h" |
16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
| 17 #include "base/win/atlcheck.h" |
17 #include "base/win/scoped_comptr.h" | 18 #include "base/win/scoped_comptr.h" |
18 #include "chrome_frame/infobars/infobar_content.h" | 19 #include "chrome_frame/infobars/infobar_content.h" |
19 #include "chrome_frame/resource.h" | 20 #include "chrome_frame/resource.h" |
20 #include "grit/generated_resources.h" | 21 #include "grit/generated_resources.h" |
21 | 22 |
22 class ReadyModeState; | 23 class ReadyModeState; |
23 class UrlLauncher; | 24 class UrlLauncher; |
24 | 25 |
25 namespace WTL { | 26 namespace WTL { |
26 class CHyperLink; | 27 class CHyperLink; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 scoped_ptr<ReadyModeState> ready_mode_state_; | 99 scoped_ptr<ReadyModeState> ready_mode_state_; |
99 scoped_ptr<WTL::CHyperLink> link_; | 100 scoped_ptr<WTL::CHyperLink> link_; |
100 scoped_ptr<UrlLauncher> url_launcher_; | 101 scoped_ptr<UrlLauncher> url_launcher_; |
101 | 102 |
102 HICON icon_; | 103 HICON icon_; |
103 base::WeakPtrFactory<ReadyPromptWindow> weak_ptr_factory_; | 104 base::WeakPtrFactory<ReadyPromptWindow> weak_ptr_factory_; |
104 DISALLOW_COPY_AND_ASSIGN(ReadyPromptWindow); | 105 DISALLOW_COPY_AND_ASSIGN(ReadyPromptWindow); |
105 }; // class ReadyPromptWindow | 106 }; // class ReadyPromptWindow |
106 | 107 |
107 #endif // CHROME_FRAME_READY_MODE_INTERNAL_READY_PROMPT_WINDOW_H_ | 108 #endif // CHROME_FRAME_READY_MODE_INTERNAL_READY_PROMPT_WINDOW_H_ |
OLD | NEW |