Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8717)

Unified Diff: chrome/browser/ui/webui/external_web_dialog_ui.h

Issue 10353007: Extract a minimal subset of WebDialogUI/WebDialogDelegate from src/chrome -> src/ui/web_dialogs Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/external_web_dialog_ui.h
===================================================================
--- chrome/browser/ui/webui/external_web_dialog_ui.h (revision 0)
+++ chrome/browser/ui/webui/external_web_dialog_ui.h (revision 0)
@@ -0,0 +1,47 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_EXTERNAL_WEB_DIALOG_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_EXTERNAL_WEB_DIALOG_UI_H_
+#pragma once
+
+#include <string>
+#include <vector>
+
+#include "base/compiler_specific.h"
+#include "base/string16.h"
+#include "content/public/browser/web_contents_delegate.h"
+#include "content/public/browser/web_ui_controller.h"
+#include "googleurl/src/gurl.h"
+#include "ui/base/ui_base_types.h"
+#include "ui/web_dialogs/web_dialog_ui.h"
+
+
+namespace base {
+class ListValue;
+template<class T> class PropertyAccessor;
+}
+
+namespace content {
+class WebContents;
+class WebUIMessageHandler;
+struct ContextMenuParams;
+}
+
+namespace gfx {
+class Size;
+}
+
+// Displays external URL contents inside a modal web dialog.
+//
+// Intended to be the place to collect the settings and lockdowns
+// necessary for running external UI components securely (e.g., the
+// cloud print dialog).
+class ExternalWebDialogUI : public web_dialogs::WebDialogUI {
+ public:
+ explicit ExternalWebDialogUI(content::WebUI* web_ui);
+ virtual ~ExternalWebDialogUI();
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_EXTERNAL_WEB_DIALOG_UI_H_

Powered by Google App Engine
This is Rietveld 408576698