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 CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_ |
6 #define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/callback.h" | 10 #include "base/callback.h" |
12 #include "base/string16.h" | 11 #include "base/string16.h" |
13 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
14 #include "content/public/common/javascript_message_type.h" | 13 #include "content/public/common/javascript_message_type.h" |
15 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
16 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
17 | 16 |
(...skipping 30 matching lines...) Expand all Loading... |
48 // Cancels all pending dialogs and resets any saved JavaScript dialog state | 47 // Cancels all pending dialogs and resets any saved JavaScript dialog state |
49 // for the given WebContents. | 48 // for the given WebContents. |
50 virtual void ResetJavaScriptState(WebContents* web_contents) = 0; | 49 virtual void ResetJavaScriptState(WebContents* web_contents) = 0; |
51 | 50 |
52 virtual ~JavaScriptDialogCreator() {} | 51 virtual ~JavaScriptDialogCreator() {} |
53 }; | 52 }; |
54 | 53 |
55 } // namespace content | 54 } // namespace content |
56 | 55 |
57 #endif // CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_ | 56 #endif // CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_ |
OLD | NEW |