| 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 "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/file_util.h" | 6 #include "base/files/file_util.h" |
| 7 #include "base/format_macros.h" | 7 #include "base/format_macros.h" |
| 8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 12 #include "chrome/browser/chrome_notification_types.h" | 12 #include "chrome/browser/chrome_notification_types.h" |
| 13 #include "chrome/browser/ui/browser.h" | 13 #include "chrome/browser/ui/browser.h" |
| 14 #include "chrome/browser/ui/browser_commands.h" | 14 #include "chrome/browser/ui/browser_commands.h" |
| 15 #include "chrome/browser/ui/browser_tabstrip.h" | 15 #include "chrome/browser/ui/browser_tabstrip.h" |
| 16 #include "chrome/browser/ui/browser_window.h" | 16 #include "chrome/browser/ui/browser_window.h" |
| (...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 content::NOTIFICATION_NAV_ENTRY_COMMITTED, | 690 content::NOTIFICATION_NAV_ENTRY_COMMITTED, |
| 691 content::NotificationService::AllSources()); | 691 content::NotificationService::AllSources()); |
| 692 chrome::GoForward(browser(), CURRENT_TAB); | 692 chrome::GoForward(browser(), CURRENT_TAB); |
| 693 forward_nav_observer.Wait(); | 693 forward_nav_observer.Wait(); |
| 694 } | 694 } |
| 695 | 695 |
| 696 EXPECT_FALSE(IsViewFocused(VIEW_ID_OMNIBOX)); | 696 EXPECT_FALSE(IsViewFocused(VIEW_ID_OMNIBOX)); |
| 697 } | 697 } |
| 698 | 698 |
| 699 } // namespace | 699 } // namespace |
| OLD | NEW |