summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/textfield_views.h
blob: 16ce10b9f15d22a2532136bd0f4826d45d727abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2011 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/ui/views/dom_view.h"

class TextfieldsUI;

class TextfieldViews : public DOMView {
 public:
  TextfieldViews();
  std::wstring GetText();
  void SetText(const std::wstring& text);

 private:
  TextfieldsUI* web_ui();

  DISALLOW_COPY_AND_ASSIGN(TextfieldViews);
};

#endif  // CHROME_BROWSER_UI_VIEWS_TEXTFIELD_VIEWS_H_