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

Side by Side Diff: chrome/browser/ui/cocoa/view_id_util_browsertest.mm

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/bookmarks/bookmark_model.h" 8 #include "chrome/browser/bookmarks/bookmark_model.h"
9 #include "chrome/browser/download/download_shelf.h" 9 #include "chrome/browser/download/download_shelf.h"
10 #include "chrome/browser/prefs/pref_service.h" 10 #include "chrome/browser/prefs/pref_service.h"
11 #include "chrome/browser/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/sidebar/sidebar_manager.h" 12 #include "chrome/browser/sidebar/sidebar_manager.h"
13 #include "chrome/browser/ui/browser.h" 13 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/browser_window.h" 14 #include "chrome/browser/ui/browser_window.h"
15 #include "chrome/browser/ui/cocoa/view_id_util.h" 15 #include "chrome/browser/ui/cocoa/view_id_util.h"
16 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
17 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
18 #include "chrome/common/url_constants.h" 18 #include "chrome/common/url_constants.h"
19 #include "chrome/test/in_process_browser_test.h" 19 #include "chrome/test/in_process_browser_test.h"
20 #include "chrome/test/ui_test_utils.h" 20 #include "chrome/test/ui_test_utils.h"
21 21
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 CheckViewID(static_cast<ViewID>(VIEW_ID_TAB_0 + i), true); 109 CheckViewID(static_cast<ViewID>(VIEW_ID_TAB_0 + i), true);
110 // VIEW_ID_TAB_LAST should always be available. 110 // VIEW_ID_TAB_LAST should always be available.
111 CheckViewID(VIEW_ID_TAB_LAST, true); 111 CheckViewID(VIEW_ID_TAB_LAST, true);
112 } 112 }
113 113
114 // Open the 11th tab. 114 // Open the 11th tab.
115 browser()->OpenURL(GURL(chrome::kAboutBlankURL), GURL(), 115 browser()->OpenURL(GURL(chrome::kAboutBlankURL), GURL(),
116 NEW_BACKGROUND_TAB, PageTransition::TYPED); 116 NEW_BACKGROUND_TAB, PageTransition::TYPED);
117 CheckViewID(VIEW_ID_TAB_LAST, true); 117 CheckViewID(VIEW_ID_TAB_LAST, true);
118 } 118 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar_controller.mm ('k') | chrome/browser/ui/find_bar/find_bar_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698