| OLD | NEW |
| 1 // Copyright (c) 2010 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_VIEWS_TEXTFIELD_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "chrome/browser/views/dom_view.h" | 11 #include "chrome/browser/ui/views/dom_view.h" |
| 12 | 12 |
| 13 class TextfieldsUI; | 13 class TextfieldsUI; |
| 14 | 14 |
| 15 class TextfieldViews : public DOMView { | 15 class TextfieldViews : public DOMView { |
| 16 public: | 16 public: |
| 17 TextfieldViews(); | 17 TextfieldViews(); |
| 18 std::wstring GetText(); | 18 std::wstring GetText(); |
| 19 void SetText(const std::wstring& text); | 19 void SetText(const std::wstring& text); |
| 20 | 20 |
| 21 private: | 21 private: |
| 22 TextfieldsUI* dom_ui(); | 22 TextfieldsUI* dom_ui(); |
| 23 | 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(TextfieldViews); | 24 DISALLOW_COPY_AND_ASSIGN(TextfieldViews); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 #endif // CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_ | 27 #endif // CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_ |
| OLD | NEW |