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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
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_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 #pragma once 7 #pragma once
8 8
9 #include "content/browser/tab_contents/constrained_window.h" 9 #include "content/browser/tab_contents/constrained_window.h"
10 #include "content/common/notification_observer.h" 10 #include "content/common/notification_observer.h"
(...skipping 14 matching lines...) Expand all
25 25
26 // Cancel the reload. 26 // Cancel the reload.
27 void Cancel(); 27 void Cancel();
28 28
29 // Continue the reload. 29 // Continue the reload.
30 void Continue(); 30 void Continue();
31 31
32 private: 32 private:
33 // NotificationObserver implementation. 33 // NotificationObserver implementation.
34 // Watch for a new load or a closed tab and dismiss the dialog if they occur. 34 // Watch for a new load or a closed tab and dismiss the dialog if they occur.
35 virtual void Observe(NotificationType type, 35 virtual void Observe(int type,
36 const NotificationSource& source, 36 const NotificationSource& source,
37 const NotificationDetails& details); 37 const NotificationDetails& details);
38 38
39 // Close the warning dialog. 39 // Close the warning dialog.
40 void CloseDialog(); 40 void CloseDialog();
41 41
42 NotificationRegistrar registrar_; 42 NotificationRegistrar registrar_;
43 43
44 // Tab contents, used to continue the reload. 44 // Tab contents, used to continue the reload.
45 TabContents* tab_contents_; 45 TabContents* tab_contents_;
46 46
47 ConstrainedWindow* window_; 47 ConstrainedWindow* window_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningController); 49 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningController);
50 }; 50 };
51 51
52 #endif // CHROME_BROWSER_REPOST_FORM_WARNING_CONTROLLER_H_ 52 #endif // CHROME_BROWSER_REPOST_FORM_WARNING_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/web_cache_manager.cc ('k') | chrome/browser/repost_form_warning_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698