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

Side by Side Diff: chrome/browser/ui/omnibox/omnibox_view_browsertest.cc

Issue 14358005: Omnibox refactor, moved OnResultChanged to OmniboxController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unit test. Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 `// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdio.h> 5 #include <stdio.h>
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
(...skipping 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1940 ASSERT_EQ(5U, end); 1940 ASSERT_EQ(5U, end);
1941 1941
1942 ui_test_utils::ClickOnView(browser(), VIEW_ID_TAB_CONTAINER); 1942 ui_test_utils::ClickOnView(browser(), VIEW_ID_TAB_CONTAINER);
1943 ASSERT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); 1943 ASSERT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX));
1944 1944
1945 omnibox_view->GetSelectionBounds(&start, &end); 1945 omnibox_view->GetSelectionBounds(&start, &end);
1946 ASSERT_EQ(0U, start); 1946 ASSERT_EQ(0U, start);
1947 ASSERT_EQ(0U, end); 1947 ASSERT_EQ(0U, end);
1948 } 1948 }
1949 #endif // !defined(TOOLKIT_GTK) 1949 #endif // !defined(TOOLKIT_GTK)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698