| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTERNAL_WEB_DIALOG_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_EXTERNAL_WEB_DIALOG_UI_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <string> |
| 10 #include <vector> |
| 11 |
| 12 #include "base/compiler_specific.h" |
| 13 #include "base/string16.h" |
| 14 #include "content/public/browser/web_contents_delegate.h" |
| 15 #include "content/public/browser/web_ui_controller.h" |
| 16 #include "googleurl/src/gurl.h" |
| 17 #include "ui/base/ui_base_types.h" |
| 18 #include "ui/web_dialogs/web_dialog_ui.h" |
| 19 |
| 20 |
| 21 namespace base { |
| 22 class ListValue; |
| 23 template<class T> class PropertyAccessor; |
| 24 } |
| 25 |
| 26 namespace content { |
| 27 class WebContents; |
| 28 class WebUIMessageHandler; |
| 29 struct ContextMenuParams; |
| 30 } |
| 31 |
| 32 namespace gfx { |
| 33 class Size; |
| 34 } |
| 35 |
| 36 // Displays external URL contents inside a modal web dialog. |
| 37 // |
| 38 // Intended to be the place to collect the settings and lockdowns |
| 39 // necessary for running external UI components securely (e.g., the |
| 40 // cloud print dialog). |
| 41 class ExternalWebDialogUI : public web_dialogs::WebDialogUI { |
| 42 public: |
| 43 explicit ExternalWebDialogUI(content::WebUI* web_ui); |
| 44 virtual ~ExternalWebDialogUI(); |
| 45 }; |
| 46 |
| 47 #endif // CHROME_BROWSER_UI_WEBUI_EXTERNAL_WEB_DIALOG_UI_H_ |
| OLD | NEW |