OLD | NEW |
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 Loading... |
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) |
OLD | NEW |