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 CONTENT_BROWSER_JAVASCRIPT_DIALOG_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_JAVASCRIPT_DIALOG_DELEGATE_H_ |
6 #define CONTENT_BROWSER_JAVASCRIPT_DIALOG_DELEGATE_H_ | 6 #define CONTENT_BROWSER_JAVASCRIPT_DIALOG_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
11 | 11 |
12 class ExtensionHost; | |
13 class GURL; | 12 class GURL; |
14 class Profile; | |
15 class TabContents; | 13 class TabContents; |
16 | 14 |
17 namespace IPC { | 15 namespace IPC { |
18 class Message; | 16 class Message; |
19 } | 17 } |
20 | 18 |
21 namespace content { | 19 namespace content { |
22 | 20 |
23 class DialogDelegate { | 21 class DialogDelegate { |
24 public: | 22 public: |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // for the delegate. | 73 // for the delegate. |
76 virtual void ResetJavaScriptState(JavaScriptDialogDelegate* delegate) = 0; | 74 virtual void ResetJavaScriptState(JavaScriptDialogDelegate* delegate) = 0; |
77 | 75 |
78 protected: | 76 protected: |
79 virtual ~JavaScriptDialogCreator() {} | 77 virtual ~JavaScriptDialogCreator() {} |
80 }; | 78 }; |
81 | 79 |
82 } // namespace content | 80 } // namespace content |
83 | 81 |
84 #endif // CONTENT_BROWSER_JAVASCRIPT_DIALOG_DELEGATE_H_ | 82 #endif // CONTENT_BROWSER_JAVASCRIPT_DIALOG_DELEGATE_H_ |
OLD | NEW |