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_SHELL_SHELL_JAVASCRIPT_DIALOG_CREATOR_H_ | 5 #ifndef CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_CREATOR_H_ |
6 #define CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_CREATOR_H_ | 6 #define CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_CREATOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
11 #include "content/public/browser/javascript_dialogs.h" | 10 #include "content/public/browser/javascript_dialogs.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 class ShellJavaScriptDialog; | 14 class ShellJavaScriptDialog; |
16 | 15 |
17 class ShellJavaScriptDialogCreator : public JavaScriptDialogCreator { | 16 class ShellJavaScriptDialogCreator : public JavaScriptDialogCreator { |
(...skipping 30 matching lines...) Expand all Loading... |
48 #else | 47 #else |
49 // TODO: implement ShellJavaScriptDialog for other platforms, drop this #if | 48 // TODO: implement ShellJavaScriptDialog for other platforms, drop this #if |
50 #endif | 49 #endif |
51 | 50 |
52 DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialogCreator); | 51 DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialogCreator); |
53 }; | 52 }; |
54 | 53 |
55 } // namespace content | 54 } // namespace content |
56 | 55 |
57 #endif // CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_CREATOR_H_ | 56 #endif // CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_CREATOR_H_ |
OLD | NEW |