| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/format_macros.h" | 9 #include "base/format_macros.h" |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "chrome/test/base/interactive_test_utils.h" | 30 #include "chrome/test/base/interactive_test_utils.h" |
| 31 #include "chrome/test/base/ui_test_utils.h" | 31 #include "chrome/test/base/ui_test_utils.h" |
| 32 #include "content/public/browser/interstitial_page.h" | 32 #include "content/public/browser/interstitial_page.h" |
| 33 #include "content/public/browser/interstitial_page_delegate.h" | 33 #include "content/public/browser/interstitial_page_delegate.h" |
| 34 #include "content/public/browser/notification_service.h" | 34 #include "content/public/browser/notification_service.h" |
| 35 #include "content/public/browser/render_view_host.h" | 35 #include "content/public/browser/render_view_host.h" |
| 36 #include "content/public/browser/render_widget_host_view.h" | 36 #include "content/public/browser/render_widget_host_view.h" |
| 37 #include "content/public/browser/web_contents.h" | 37 #include "content/public/browser/web_contents.h" |
| 38 #include "content/public/browser/web_contents_view.h" | 38 #include "content/public/browser/web_contents_view.h" |
| 39 #include "content/public/test/browser_test_utils.h" | 39 #include "content/public/test/browser_test_utils.h" |
| 40 #include "net/test/spawned_test_server.h" | 40 #include "net/test/spawned_test_server/spawned_test_server.h" |
| 41 | 41 |
| 42 #if defined(TOOLKIT_VIEWS) | 42 #if defined(TOOLKIT_VIEWS) |
| 43 #include "chrome/browser/ui/views/frame/browser_view.h" | 43 #include "chrome/browser/ui/views/frame/browser_view.h" |
| 44 #include "ui/views/focus/focus_manager.h" | 44 #include "ui/views/focus/focus_manager.h" |
| 45 #include "ui/views/view.h" | 45 #include "ui/views/view.h" |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 #if defined(OS_WIN) | 48 #if defined(OS_WIN) |
| 49 #include <windows.h> | 49 #include <windows.h> |
| 50 #include <Psapi.h> | 50 #include <Psapi.h> |
| (...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 content::NOTIFICATION_NAV_ENTRY_COMMITTED, | 985 content::NOTIFICATION_NAV_ENTRY_COMMITTED, |
| 986 content::NotificationService::AllSources()); | 986 content::NotificationService::AllSources()); |
| 987 chrome::GoForward(browser(), CURRENT_TAB); | 987 chrome::GoForward(browser(), CURRENT_TAB); |
| 988 forward_nav_observer.Wait(); | 988 forward_nav_observer.Wait(); |
| 989 } | 989 } |
| 990 | 990 |
| 991 EXPECT_FALSE(IsViewFocused(VIEW_ID_OMNIBOX)); | 991 EXPECT_FALSE(IsViewFocused(VIEW_ID_OMNIBOX)); |
| 992 } | 992 } |
| 993 | 993 |
| 994 } // namespace | 994 } // namespace |
| OLD | NEW |