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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_browsertest.cc

Issue 5682007: Cleanup: Remove needed #includes for profile.h. (Closed) Base URL: svn://chrome-svn/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/string_util.h" 5 #include "base/string_util.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/autocomplete/autocomplete.h" 7 #include "chrome/browser/autocomplete/autocomplete.h"
8 #include "chrome/browser/autocomplete/autocomplete_edit.h" 8 #include "chrome/browser/autocomplete/autocomplete_edit.h"
9 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" 9 #include "chrome/browser/autocomplete/autocomplete_edit_view.h"
10 #include "chrome/browser/autocomplete/autocomplete_match.h" 10 #include "chrome/browser/autocomplete/autocomplete_match.h"
11 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 11 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
12 #include "chrome/browser/browser_window.h" 12 #include "chrome/browser/browser_window.h"
13 #include "chrome/browser/history/history.h" 13 #include "chrome/browser/history/history.h"
14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/tab_contents/tab_contents.h" 14 #include "chrome/browser/tab_contents/tab_contents.h"
16 #include "chrome/browser/tabs/tab_strip_model.h" 15 #include "chrome/browser/tabs/tab_strip_model.h"
17 #include "chrome/browser/ui/browser.h" 16 #include "chrome/browser/ui/browser.h"
18 #include "chrome/browser/ui/omnibox/location_bar.h" 17 #include "chrome/browser/ui/omnibox/location_bar.h"
19 #include "chrome/common/notification_type.h" 18 #include "chrome/common/notification_type.h"
20 #include "chrome/common/url_constants.h" 19 #include "chrome/common/url_constants.h"
21 #include "chrome/test/in_process_browser_test.h" 20 #include "chrome/test/in_process_browser_test.h"
22 #include "chrome/test/ui_test_utils.h" 21 #include "chrome/test/ui_test_utils.h"
23 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
24 23
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 EXPECT_EQ(std::wstring(), location_bar->GetInputString()); 234 EXPECT_EQ(std::wstring(), location_bar->GetInputString());
236 EXPECT_EQ(L" ?foo", location_bar->location_entry()->GetText()); 235 EXPECT_EQ(L" ?foo", location_bar->location_entry()->GetText());
237 236
238 size_t selection_start, selection_end; 237 size_t selection_start, selection_end;
239 location_bar->location_entry()->GetSelectionBounds(&selection_start, 238 location_bar->location_entry()->GetSelectionBounds(&selection_start,
240 &selection_end); 239 &selection_end);
241 EXPECT_EQ(4U, std::min(selection_start, selection_end)); 240 EXPECT_EQ(4U, std::min(selection_start, selection_end));
242 EXPECT_EQ(7U, std::max(selection_start, selection_end)); 241 EXPECT_EQ(7U, std::max(selection_start, selection_end));
243 } 242 }
244 } 243 }
OLDNEW
« no previous file with comments | « chrome/browser/accessibility/browser_accessibility_state.cc ('k') | chrome/browser/autofill/autofill_cc_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698