| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TURNDOWN_PROMPT_TURNDOWN_PROMPT_WINDOW_H_ | 5 #ifndef CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_WINDOW_H_ |
| 6 #define CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_WINDOW_H_ | 6 #define CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_WINDOW_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlapp.h> | 10 #include <atlapp.h> |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Event handlers. | 84 // Event handlers. |
| 85 void OnDestroy(); | 85 void OnDestroy(); |
| 86 BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam); | 86 BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam); |
| 87 LRESULT OnLearnMore(WORD wParam, LPNMHDR lParam, BOOL& bHandled); // NOLINT | 87 LRESULT OnLearnMore(WORD wParam, LPNMHDR lParam, BOOL& bHandled); // NOLINT |
| 88 LRESULT OnUninstall(WORD wNotifyCode, | 88 LRESULT OnUninstall(WORD wNotifyCode, |
| 89 WORD wID, | 89 WORD wID, |
| 90 HWND hWndCtl, | 90 HWND hWndCtl, |
| 91 BOOL& bHandled); | 91 BOOL& bHandled); |
| 92 | 92 |
| 93 // Returns the prompt text for the current version of IE. | 93 // Returns the prompt text for the current version of IE. |
| 94 static string16 GetPromptText(); | 94 static base::string16 GetPromptText(); |
| 95 | 95 |
| 96 InfobarContent::Frame* frame_; // Not owned by this instance | 96 InfobarContent::Frame* frame_; // Not owned by this instance |
| 97 scoped_ptr<WTL::CHyperLink> link_; | 97 scoped_ptr<WTL::CHyperLink> link_; |
| 98 scoped_ptr<UrlLauncher> url_launcher_; | 98 scoped_ptr<UrlLauncher> url_launcher_; |
| 99 base::Closure uninstall_closure_; | 99 base::Closure uninstall_closure_; |
| 100 | 100 |
| 101 base::WeakPtrFactory<TurndownPromptWindow> weak_ptr_factory_; | 101 base::WeakPtrFactory<TurndownPromptWindow> weak_ptr_factory_; |
| 102 DISALLOW_COPY_AND_ASSIGN(TurndownPromptWindow); | 102 DISALLOW_COPY_AND_ASSIGN(TurndownPromptWindow); |
| 103 }; // class TurndownPromptWindow | 103 }; // class TurndownPromptWindow |
| 104 | 104 |
| 105 #endif // CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_WINDOW_H_ | 105 #endif // CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_WINDOW_H_ |
| OLD | NEW |