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

Side by Side Diff: chrome/browser/views/location_bar_view.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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/views/info_bubble.cc ('k') | chrome/browser/views/options/cookies_view.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/views/location_bar_view.h" 5 #include "chrome/browser/views/location_bar_view.h"
6 6
7 #include "app/gfx/chrome_canvas.h" 7 #include "app/gfx/chrome_canvas.h"
8 #include "app/l10n_util.h" 8 #include "app/l10n_util.h"
9 #include "app/resource_bundle.h" 9 #include "app/resource_bundle.h"
10 #include "app/win_util.h"
10 #include "base/path_service.h" 11 #include "base/path_service.h"
11 #include "base/string_util.h" 12 #include "base/string_util.h"
12 #include "chrome/app/chrome_dll_resource.h" 13 #include "chrome/app/chrome_dll_resource.h"
13 #include "chrome/browser/alternate_nav_url_fetcher.h" 14 #include "chrome/browser/alternate_nav_url_fetcher.h"
14 #include "chrome/browser/browser.h" 15 #include "chrome/browser/browser.h"
15 #include "chrome/browser/browser_list.h" 16 #include "chrome/browser/browser_list.h"
16 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/command_updater.h" 18 #include "chrome/browser/command_updater.h"
18 #include "chrome/browser/extensions/extension_browser_event_router.h" 19 #include "chrome/browser/extensions/extension_browser_event_router.h"
19 #include "chrome/browser/extensions/extension_tabs_module.h" 20 #include "chrome/browser/extensions/extension_tabs_module.h"
20 #include "chrome/browser/extensions/extensions_service.h" 21 #include "chrome/browser/extensions/extensions_service.h"
21 #include "chrome/browser/profile.h" 22 #include "chrome/browser/profile.h"
22 #include "chrome/browser/search_engines/template_url.h" 23 #include "chrome/browser/search_engines/template_url.h"
23 #include "chrome/browser/search_engines/template_url_model.h" 24 #include "chrome/browser/search_engines/template_url_model.h"
24 #include "chrome/browser/tab_contents/navigation_entry.h" 25 #include "chrome/browser/tab_contents/navigation_entry.h"
25 #include "chrome/browser/view_ids.h" 26 #include "chrome/browser/view_ids.h"
26 #include "chrome/browser/views/info_bubble.h" 27 #include "chrome/browser/views/info_bubble.h"
27 #include "chrome/browser/views/first_run_bubble.h" 28 #include "chrome/browser/views/first_run_bubble.h"
28 #include "chrome/browser/views/page_info_window.h" 29 #include "chrome/browser/views/page_info_window.h"
29 #include "chrome/common/win_util.h"
30 #include "grit/generated_resources.h" 30 #include "grit/generated_resources.h"
31 #include "grit/theme_resources.h" 31 #include "grit/theme_resources.h"
32 #include "views/background.h" 32 #include "views/background.h"
33 #include "views/border.h" 33 #include "views/border.h"
34 #include "views/widget/root_view.h" 34 #include "views/widget/root_view.h"
35 #include "views/widget/widget.h" 35 #include "views/widget/widget.h"
36 36
37 using views::View; 37 using views::View;
38 38
39 const int LocationBarView::kVertMargin = 2; 39 const int LocationBarView::kVertMargin = 2;
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 location_entry_->SetFocus(); 1244 location_entry_->SetFocus();
1245 } 1245 }
1246 1246
1247 void LocationBarView::SaveStateToContents(TabContents* contents) { 1247 void LocationBarView::SaveStateToContents(TabContents* contents) {
1248 location_entry_->SaveStateToTab(contents); 1248 location_entry_->SaveStateToTab(contents);
1249 } 1249 }
1250 1250
1251 void LocationBarView::Revert() { 1251 void LocationBarView::Revert() {
1252 location_entry_->RevertAll(); 1252 location_entry_->RevertAll();
1253 } 1253 }
OLDNEW
« no previous file with comments | « chrome/browser/views/info_bubble.cc ('k') | chrome/browser/views/options/cookies_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698