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 UI_WEB_DIALOGS_WEB_DIALOG_UI_H_ | 5 #ifndef UI_WEB_DIALOGS_WEB_DIALOG_UI_H_ |
6 #define UI_WEB_DIALOGS_WEB_DIALOG_UI_H_ | 6 #define UI_WEB_DIALOGS_WEB_DIALOG_UI_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
12 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
13 #include "content/public/browser/web_contents_delegate.h" | 14 #include "content/public/browser/web_contents_delegate.h" |
14 #include "content/public/browser/web_ui_controller.h" | 15 #include "content/public/browser/web_ui_controller.h" |
15 #include "ui/base/ui_base_types.h" | 16 #include "ui/base/ui_base_types.h" |
16 #include "ui/web_dialogs/web_dialogs_export.h" | 17 #include "ui/web_dialogs/web_dialogs_export.h" |
17 #include "url/gurl.h" | 18 #include "url/gurl.h" |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 class WebContents; | 21 class WebContents; |
21 class WebUIMessageHandler; | 22 class WebUIMessageHandler; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 76 |
76 // JS message handler. | 77 // JS message handler. |
77 void OnDialogClosed(const base::ListValue* args); | 78 void OnDialogClosed(const base::ListValue* args); |
78 | 79 |
79 DISALLOW_COPY_AND_ASSIGN(WebDialogUI); | 80 DISALLOW_COPY_AND_ASSIGN(WebDialogUI); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace ui | 83 } // namespace ui |
83 | 84 |
84 #endif // UI_WEB_DIALOGS_WEB_DIALOG_UI_H_ | 85 #endif // UI_WEB_DIALOGS_WEB_DIALOG_UI_H_ |
OLD | NEW |