diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-21 23:06:05 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-21 23:06:05 +0000 |
commit | 00d7e6289878922b937039cf542144a8c7906e8e (patch) | |
tree | c32e756faa3f6c079b81c5f759a65642b210bd2e /webkit/glue/webtextinput.h | |
parent | 33eb5ad09b9cc9fe9f1fb95c4ba41ace5c3b6bc8 (diff) | |
download | chromium_src-00d7e6289878922b937039cf542144a8c7906e8e.zip chromium_src-00d7e6289878922b937039cf542144a8c7906e8e.tar.gz chromium_src-00d7e6289878922b937039cf542144a8c7906e8e.tar.bz2 |
Use webtextinput to insert text for middle-click paste.
Remove InsertText() from webview.
Review URL: http://codereview.chromium.org/87002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14153 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webtextinput.h')
-rw-r--r-- | webkit/glue/webtextinput.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/webkit/glue/webtextinput.h b/webkit/glue/webtextinput.h index fb51f83..60dfa7a 100644 --- a/webkit/glue/webtextinput.h +++ b/webkit/glue/webtextinput.h @@ -1,13 +1,9 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 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. -// -// Class WebTextInput provides text input APIs used by TextInputController -// in test_shell. It only facilitates layout tests and should not be used -// by renderers. -#ifndef WEBKIT_GLUE_WEBTEXTINPUT_H__ -#define WEBKIT_GLUE_WEBTEXTINPUT_H__ +#ifndef WEBKIT_GLUE_WEBTEXTINPUT_H_ +#define WEBKIT_GLUE_WEBTEXTINPUT_H_ #include <string> #include "base/basictypes.h" @@ -56,7 +52,7 @@ class WebTextInput { virtual void MakeAttributedString(const std::string& str) = 0; private: - DISALLOW_EVIL_CONSTRUCTORS(WebTextInput); + DISALLOW_COPY_AND_ASSIGN(WebTextInput); }; -#endif // #ifndef WEBKIT_GLUE_WEBTEXTINPUT_H__ +#endif // #ifndef WEBKIT_GLUE_WEBTEXTINPUT_H_ |