• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_
7 #pragma once
8 
9 #include <string>
10 
11 #include "chrome/browser/ui/views/dom_view.h"
12 
13 class TextfieldsUI;
14 
15 class TextfieldViews : public DOMView {
16  public:
17   TextfieldViews();
18   std::wstring GetText();
19   void SetText(const std::wstring& text);
20 
21  private:
22   TextfieldsUI* web_ui();
23 
24   DISALLOW_COPY_AND_ASSIGN(TextfieldViews);
25 };
26 
27 #endif  // CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_
28