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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.cc

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: chrome/browser/ui/views/omnibox/omnibox_view_views.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
index 088bab5048d99f63cb04e88d36f0639d81db7063..bf92f68f5a97eac85a01c613950a4d0923499049 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
@@ -316,6 +316,7 @@ bool OmniboxViewViews::IsImeComposing() const {
}
void OmniboxViewViews::ExecuteCommand(int command_id, int event_flags) {
+ DestroyTouchSelection();
sky 2014/05/21 16:20:45 Add a comment as to why the touch selection needs
mohsen 2014/05/21 19:54:28 Done.
switch (command_id) {
// These commands don't invoke the popup via OnBefore/AfterPossibleChange().
case IDS_PASTE_AND_GO:

Powered by Google App Engine
This is Rietveld 408576698