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_TEXTFIELDS_UI_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_TEXTFIELDS_UI_H_ |
6 #define CHROME_BROWSER_DOM_UI_TEXTFIELDS_UI_H_ | 6 #define CHROME_BROWSER_DOM_UI_TEXTFIELDS_UI_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 11 #include "chrome/browser/webui/chrome_url_data_manager.h" |
12 #include "chrome/browser/webui/web_ui.h" | 12 #include "chrome/browser/webui/web_ui.h" |
13 | 13 |
14 class RefCountedMemory; | 14 class RefCountedMemory; |
15 | 15 |
16 /** | 16 /** |
17 * ChromeURLDataManager::DataSource implementation that asynchronously answers | 17 * ChromeURLDataManager::DataSource implementation that asynchronously answers |
18 * requests for chrome://textfields URL. On receiving a request, this object | 18 * requests for chrome://textfields URL. On receiving a request, this object |
19 * reads the html from the local resource textfields.html and sends back the | 19 * reads the html from the local resource textfields.html and sends back the |
20 * response. | 20 * response. |
21 */ | 21 */ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 const std::wstring& text() const { return text_; } | 62 const std::wstring& text() const { return text_; } |
63 void set_text(const std::wstring& text) { text_ = text; } | 63 void set_text(const std::wstring& text) { text_ = text; } |
64 | 64 |
65 private: | 65 private: |
66 std::wstring text_; | 66 std::wstring text_; |
67 | 67 |
68 DISALLOW_COPY_AND_ASSIGN(TextfieldsUI); | 68 DISALLOW_COPY_AND_ASSIGN(TextfieldsUI); |
69 }; | 69 }; |
70 | 70 |
71 #endif // CHROME_BROWSER_DOM_UI_TEXTFIELDS_UI_H_ | 71 #endif // CHROME_BROWSER_DOM_UI_TEXTFIELDS_UI_H_ |
OLD | NEW |