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

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: 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
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..581f6122963f18e76d787651982121c062babb5b 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"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/ime/text_input_client.h"
#include "ui/base/ime/text_input_type.h"
@@ -28,6 +29,8 @@
#include "ui/views/drag_controller.h"
#include "ui/views/view.h"
+class OmniboxViewViewsTest;
+
namespace views {
namespace test {
@@ -300,6 +303,7 @@ class VIEWS_EXPORT Textfield : public View,
friend class TextfieldTest;
friend class TouchSelectionControllerImplTest;
friend class test::WidgetTestInteractive;
+ friend class ::OmniboxViewViewsTest;
sky 2014/05/20 20:58:14 Ick. How about exposing a class, only compiled in
mohsen 2014/05/21 14:47:49 Done.
// Handles a request to change the value of this text field from software
// using an accessibility API (typically automation software, screen readers
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698