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_CONSTRAINED_HTML_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CONSTRAINED_HTML_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CONSTRAINED_HTML_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CONSTRAINED_HTML_UI_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // ConstrainedHtmlUIDelegate property on a TabContents. | 50 // ConstrainedHtmlUIDelegate property on a TabContents. |
51 static PropertyAccessor<ConstrainedHtmlUIDelegate*>& | 51 static PropertyAccessor<ConstrainedHtmlUIDelegate*>& |
52 GetPropertyAccessor(); | 52 GetPropertyAccessor(); |
53 | 53 |
54 private: | 54 private: |
55 // Returns the TabContents' PropertyBag's ConstrainedHtmlUIDelegate. | 55 // Returns the TabContents' PropertyBag's ConstrainedHtmlUIDelegate. |
56 // Returns NULL if that property is not set. | 56 // Returns NULL if that property is not set. |
57 ConstrainedHtmlUIDelegate* GetConstrainedDelegate(); | 57 ConstrainedHtmlUIDelegate* GetConstrainedDelegate(); |
58 | 58 |
59 // JS Message Handler | 59 // JS Message Handler |
60 void OnDialogClose(const ListValue* args); | 60 void OnDialogClose(const base::ListValue* args); |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(ConstrainedHtmlUI); | 62 DISALLOW_COPY_AND_ASSIGN(ConstrainedHtmlUI); |
63 }; | 63 }; |
64 | 64 |
65 #endif // CHROME_BROWSER_UI_WEBUI_CONSTRAINED_HTML_UI_H_ | 65 #endif // CHROME_BROWSER_UI_WEBUI_CONSTRAINED_HTML_UI_H_ |
OLD | NEW |