Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(763)

Unified Diff: ui/views/controls/textfield/textfield.h

Issue 297733002: Deactivate omnibox touch editing on command execution (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test api for textfield Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/textfield/textfield.h
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h
index 431ceef6c86a74f5fb0143a3b59f93c30214a8b1..ef4b3b6369dc78728dd4031a0dd995338f0b1cb6 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -13,6 +13,7 @@
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "base/timer/timer.h"
+#include "testing/gtest/include/gtest/gtest_prod.h"
sky 2014/05/21 16:20:45 Why do you need this include?
mohsen 2014/05/21 19:54:28 Not needed. Residue of some tests, sorry! Removed.
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/ime/text_input_client.h"
#include "ui/base/ime/text_input_type.h"
@@ -30,10 +31,6 @@
namespace views {
-namespace test {
-class WidgetTestInteractive;
-}
-
class MenuRunner;
class Painter;
class TextfieldController;
@@ -297,9 +294,7 @@ class VIEWS_EXPORT Textfield : public View,
virtual base::string16 GetSelectionClipboardText() const;
private:
- friend class TextfieldTest;
- friend class TouchSelectionControllerImplTest;
- friend class test::WidgetTestInteractive;
+ friend class TextfieldTestApi;
// Handles a request to change the value of this text field from software
// using an accessibility API (typically automation software, screen readers

Powered by Google App Engine
This is Rietveld 408576698