diff options
Diffstat (limited to 'chrome/browser/ui/views/textfield_views.h')
-rw-r--r-- | chrome/browser/ui/views/textfield_views.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/textfield_views.h b/chrome/browser/ui/views/textfield_views.h new file mode 100644 index 0000000..10fe0a1 --- /dev/null +++ b/chrome/browser/ui/views/textfield_views.h @@ -0,0 +1,27 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_ +#define CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_ +#pragma once + +#include <string> + +#include "chrome/browser/views/dom_view.h" + +class TextfieldsUI; + +class TextfieldViews : public DOMView { + public: + TextfieldViews(); + std::wstring GetText(); + void SetText(const std::wstring& text); + + private: + TextfieldsUI* dom_ui(); + + DISALLOW_COPY_AND_ASSIGN(TextfieldViews); +}; + +#endif // CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_ |