OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 // JS message handler. | 114 // JS message handler. |
115 void OnDialogClosed(const base::ListValue* args); | 115 void OnDialogClosed(const base::ListValue* args); |
116 | 116 |
117 DISALLOW_COPY_AND_ASSIGN(HtmlDialogUI); | 117 DISALLOW_COPY_AND_ASSIGN(HtmlDialogUI); |
118 }; | 118 }; |
119 | 119 |
120 // Displays external URL contents inside a modal HTML dialog. | 120 // Displays external URL contents inside a modal HTML dialog. |
121 // | 121 // |
122 // Intended to be the place to collect the settings and lockdowns | 122 // Intended to be the place to collect the settings and lockdowns |
123 // necessary for running external UI conponents securely (e.g., the | 123 // necessary for running external UI components securely (e.g., the |
124 // cloud print dialog). | 124 // cloud print dialog). |
125 class ExternalHtmlDialogUI : public HtmlDialogUI { | 125 class ExternalHtmlDialogUI : public HtmlDialogUI { |
126 public: | 126 public: |
127 explicit ExternalHtmlDialogUI(TabContents* tab_contents); | 127 explicit ExternalHtmlDialogUI(TabContents* tab_contents); |
128 virtual ~ExternalHtmlDialogUI(); | 128 virtual ~ExternalHtmlDialogUI(); |
129 }; | 129 }; |
130 | 130 |
131 #endif // CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_ | 131 #endif // CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_ |
OLD | NEW |