OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_REPOST_FORM_WARNING_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_REPOST_FORM_WARNING_CONTROLLER_H_ |
6 #define CHROME_BROWSER_REPOST_FORM_WARNING_CONTROLLER_H_ | 6 #define CHROME_BROWSER_REPOST_FORM_WARNING_CONTROLLER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "chrome/browser/ui/tab_modal_confirm_dialog_delegate.h" | 9 #include "chrome/browser/ui/tab_modal_confirm_dialog_delegate.h" |
10 #include "content/public/browser/web_contents_observer.h" | 10 #include "content/public/browser/web_contents_observer.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 // TabModalConfirmDialogDelegate methods: | 22 // TabModalConfirmDialogDelegate methods: |
23 virtual string16 GetTitle() OVERRIDE; | 23 virtual string16 GetTitle() OVERRIDE; |
24 virtual string16 GetMessage() OVERRIDE; | 24 virtual string16 GetMessage() OVERRIDE; |
25 virtual string16 GetAcceptButtonTitle() OVERRIDE; | 25 virtual string16 GetAcceptButtonTitle() OVERRIDE; |
26 #if defined(TOOLKIT_GTK) | 26 #if defined(TOOLKIT_GTK) |
27 virtual const char* GetAcceptButtonIcon() OVERRIDE; | 27 virtual const char* GetAcceptButtonIcon() OVERRIDE; |
28 virtual const char* GetCancelButtonIcon() OVERRIDE; | 28 virtual const char* GetCancelButtonIcon() OVERRIDE; |
29 #endif // defined(TOOLKIT_GTK) | 29 #endif // defined(TOOLKIT_GTK) |
30 virtual void OnAccepted() OVERRIDE; | 30 virtual void OnAccepted() OVERRIDE; |
31 virtual void OnCanceled() OVERRIDE; | 31 virtual void OnCanceled() OVERRIDE; |
| 32 virtual void OnClosed() OVERRIDE; |
32 | 33 |
33 // content::WebContentsObserver methods: | 34 // content::WebContentsObserver methods: |
34 virtual void BeforeFormRepostWarningShow() OVERRIDE; | 35 virtual void BeforeFormRepostWarningShow() OVERRIDE; |
35 | 36 |
36 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningController); | 37 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningController); |
37 }; | 38 }; |
38 | 39 |
39 #endif // CHROME_BROWSER_REPOST_FORM_WARNING_CONTROLLER_H_ | 40 #endif // CHROME_BROWSER_REPOST_FORM_WARNING_CONTROLLER_H_ |
OLD | NEW |