summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/textfield_views.h
blob: 506a2e626bbff567a8eee030d1d927ed4729fee4 (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) 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_VIEWS_TEXTFIELD_VIEWS_H_
#define CHROME_BROWSER_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_VIEWS_TEXTFIELD_VIEWS_H_