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

Side by Side Diff: chrome/browser/browser_focus_uitest.cc

Issue 6245006: Update references part 3: remaining files in chrome/...... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/file_util.h" 7 #include "base/file_util.h"
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 21 matching lines...) Expand all
32 #include "views/window/window.h" 32 #include "views/window/window.h"
33 #endif 33 #endif
34 34
35 #if defined(TOOLKIT_VIEWS) 35 #if defined(TOOLKIT_VIEWS)
36 #include "chrome/browser/ui/views/frame/browser_view.h" 36 #include "chrome/browser/ui/views/frame/browser_view.h"
37 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" 37 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
38 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" 38 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
39 #endif 39 #endif
40 40
41 #if defined(TOOLKIT_USES_GTK) 41 #if defined(TOOLKIT_USES_GTK)
42 #include "chrome/browser/gtk/view_id_util.h" 42 #include "chrome/browser/ui/gtk/view_id_util.h"
43 #endif 43 #endif
44 44
45 #if defined(OS_WIN) 45 #if defined(OS_WIN)
46 #include <Psapi.h>
46 #include <windows.h> 47 #include <windows.h>
47 #include <Psapi.h>
48 #endif 48 #endif
49 49
50 #if defined(OS_LINUX) 50 #if defined(OS_LINUX)
51 #define MAYBE_FocusTraversal FocusTraversal 51 #define MAYBE_FocusTraversal FocusTraversal
52 #define MAYBE_FocusTraversalOnInterstitial FocusTraversalOnInterstitial 52 #define MAYBE_FocusTraversalOnInterstitial FocusTraversalOnInterstitial
53 // TODO(jcampan): http://crbug.com/23683 53 // TODO(jcampan): http://crbug.com/23683
54 #define MAYBE_TabsRememberFocusFindInPage FAILS_TabsRememberFocusFindInPage 54 #define MAYBE_TabsRememberFocusFindInPage FAILS_TabsRememberFocusFindInPage
55 #elif defined(OS_MACOSX) 55 #elif defined(OS_MACOSX)
56 // TODO(suzhe): http://crbug.com/60973 (following two tests) 56 // TODO(suzhe): http://crbug.com/60973 (following two tests)
57 #define MAYBE_FocusTraversal DISABLED_FocusTraversal 57 #define MAYBE_FocusTraversal DISABLED_FocusTraversal
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 ui_test_utils::CrashTab(browser()->GetSelectedTabContents()); 834 ui_test_utils::CrashTab(browser()->GetSelectedTabContents());
835 browser()->Reload(CURRENT_TAB); 835 browser()->Reload(CURRENT_TAB);
836 ASSERT_TRUE(ui_test_utils::WaitForNavigationInCurrentTab(browser())); 836 ASSERT_TRUE(ui_test_utils::WaitForNavigationInCurrentTab(browser()));
837 837
838 // Focus should now be on the tab contents. 838 // Focus should now be on the tab contents.
839 browser()->ShowDownloadsTab(); 839 browser()->ShowDownloadsTab();
840 ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW)); 840 ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW));
841 } 841 }
842 842
843 } // namespace 843 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698