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

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

Issue 16629005: Use a direct include of strings headers in chrome/browser/ui/b*-p*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/ui/browser_close_browsertest.cc ('k') | chrome/browser/ui/browser_navigator.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) 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"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/stringprintf.h"
13 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/stringprintf.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
16 #include "chrome/browser/ui/browser_commands.h" 16 #include "chrome/browser/ui/browser_commands.h"
17 #include "chrome/browser/ui/browser_tabstrip.h" 17 #include "chrome/browser/ui/browser_tabstrip.h"
18 #include "chrome/browser/ui/browser_window.h" 18 #include "chrome/browser/ui/browser_window.h"
19 #include "chrome/browser/ui/chrome_pages.h" 19 #include "chrome/browser/ui/chrome_pages.h"
20 #include "chrome/browser/ui/omnibox/location_bar.h" 20 #include "chrome/browser/ui/omnibox/location_bar.h"
21 #include "chrome/browser/ui/omnibox/omnibox_edit_controller.h" 21 #include "chrome/browser/ui/omnibox/omnibox_edit_controller.h"
22 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" 22 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h"
23 #include "chrome/browser/ui/omnibox/omnibox_view.h" 23 #include "chrome/browser/ui/omnibox/omnibox_view.h"
(...skipping 17 matching lines...) Expand all
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>
51 #include "base/string_util.h" 51 #include "base/strings/string_util.h"
52 #endif 52 #endif
53 53
54 using content::InterstitialPage; 54 using content::InterstitialPage;
55 using content::NavigationController; 55 using content::NavigationController;
56 using content::RenderViewHost; 56 using content::RenderViewHost;
57 using content::WebContents; 57 using content::WebContents;
58 58
59 #if defined(OS_MACOSX) 59 #if defined(OS_MACOSX)
60 // TODO(suzhe): http://crbug.com/60973 60 // TODO(suzhe): http://crbug.com/60973
61 #define MAYBE_FocusTraversal DISABLED_FocusTraversal 61 #define MAYBE_FocusTraversal DISABLED_FocusTraversal
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 content::NOTIFICATION_NAV_ENTRY_COMMITTED, 988 content::NOTIFICATION_NAV_ENTRY_COMMITTED,
989 content::NotificationService::AllSources()); 989 content::NotificationService::AllSources());
990 chrome::GoForward(browser(), CURRENT_TAB); 990 chrome::GoForward(browser(), CURRENT_TAB);
991 forward_nav_observer.Wait(); 991 forward_nav_observer.Wait();
992 } 992 }
993 993
994 EXPECT_FALSE(IsViewFocused(VIEW_ID_OMNIBOX)); 994 EXPECT_FALSE(IsViewFocused(VIEW_ID_OMNIBOX));
995 } 995 }
996 996
997 } // namespace 997 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_close_browsertest.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698