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_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/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/win/scoped_comptr.h" | 17 #include "base/win/scoped_comptr.h" |
18 #include "chrome_frame/infobars/infobar_content.h" | 18 #include "chrome_frame/infobars/infobar_content.h" |
19 #include "chrome_frame/resource.h" | 19 #include "chrome_frame/resource.h" |
20 #include "grit/generated_resources.h" | 20 #include "grit/chrome_frame_dialogs.h" |
21 | 21 |
22 class ReadyModeState; | 22 class ReadyModeState; |
23 class UrlLauncher; | 23 class UrlLauncher; |
24 | 24 |
25 namespace WTL { | 25 namespace WTL { |
26 class CHyperLink; | 26 class CHyperLink; |
27 } // namespace WTL | 27 } // namespace WTL |
28 | 28 |
29 // Implements a dialog with text and buttons inviting the user to permanently | 29 // Implements a dialog with text and buttons inviting the user to permanently |
30 // activate the product or temporarily/permanently disable Ready Mode. | 30 // activate the product or temporarily/permanently disable Ready Mode. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 scoped_ptr<ReadyModeState> ready_mode_state_; | 98 scoped_ptr<ReadyModeState> ready_mode_state_; |
99 scoped_ptr<WTL::CHyperLink> link_; | 99 scoped_ptr<WTL::CHyperLink> link_; |
100 scoped_ptr<UrlLauncher> url_launcher_; | 100 scoped_ptr<UrlLauncher> url_launcher_; |
101 | 101 |
102 HICON icon_; | 102 HICON icon_; |
103 base::WeakPtrFactory<ReadyPromptWindow> weak_ptr_factory_; | 103 base::WeakPtrFactory<ReadyPromptWindow> weak_ptr_factory_; |
104 DISALLOW_COPY_AND_ASSIGN(ReadyPromptWindow); | 104 DISALLOW_COPY_AND_ASSIGN(ReadyPromptWindow); |
105 }; // class ReadyPromptWindow | 105 }; // class ReadyPromptWindow |
106 | 106 |
107 #endif // CHROME_FRAME_READY_MODE_INTERNAL_READY_PROMPT_WINDOW_H_ | 107 #endif // CHROME_FRAME_READY_MODE_INTERNAL_READY_PROMPT_WINDOW_H_ |
OLD | NEW |