Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: chrome/browser/repost_form_warning_controller.h

Issue 18179004: Dismiss action in tab modal dialogs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test for Mac Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_danger_prompt.cc ('k') | chrome/browser/repost_form_warning_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698