| 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_DOM_UI_CONSTRAINED_HTML_UI_H_ | 5 #ifndef CHROME_BROWSER_WEBUI_CONSTRAINED_HTML_UI_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_CONSTRAINED_HTML_UI_H_ | 6 #define CHROME_BROWSER_WEBUI_CONSTRAINED_HTML_UI_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "chrome/browser/tab_contents/constrained_window.h" | 11 #include "chrome/browser/tab_contents/constrained_window.h" |
| 12 #include "chrome/browser/webui/web_ui.h" | 12 #include "chrome/browser/webui/web_ui.h" |
| 13 #include "chrome/common/property_bag.h" | 13 #include "chrome/common/property_bag.h" |
| 14 | 14 |
| 15 class HtmlDialogUIDelegate; | 15 class HtmlDialogUIDelegate; |
| 16 class Profile; | 16 class Profile; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // Returns the TabContents' PropertyBag's ConstrainedHtmlUIDelegate. | 54 // Returns the TabContents' PropertyBag's ConstrainedHtmlUIDelegate. |
| 55 // Returns NULL if that property is not set. | 55 // Returns NULL if that property is not set. |
| 56 ConstrainedHtmlUIDelegate* GetConstrainedDelegate(); | 56 ConstrainedHtmlUIDelegate* GetConstrainedDelegate(); |
| 57 | 57 |
| 58 // JS Message Handler | 58 // JS Message Handler |
| 59 void OnDialogClose(const ListValue* args); | 59 void OnDialogClose(const ListValue* args); |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(ConstrainedHtmlUI); | 61 DISALLOW_COPY_AND_ASSIGN(ConstrainedHtmlUI); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 #endif // CHROME_BROWSER_DOM_UI_CONSTRAINED_HTML_UI_H_ | 64 #endif // CHROME_BROWSER_WEBUI_CONSTRAINED_HTML_UI_H_ |
| OLD | NEW |