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

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

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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
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 "chrome/browser/toolbar_model.h" 5 #include "chrome/browser/toolbar_model.h"
6 6
7 #include "app/l10n_util.h"
8 #include "chrome/browser/autocomplete/autocomplete_edit.h" 7 #include "chrome/browser/autocomplete/autocomplete_edit.h"
9 #include "chrome/browser/browser.h" 8 #include "chrome/browser/browser.h"
10 #include "chrome/browser/cert_store.h" 9 #include "chrome/browser/cert_store.h"
11 #include "chrome/browser/pref_service.h" 10 #include "chrome/browser/pref_service.h"
12 #include "chrome/browser/profile.h" 11 #include "chrome/browser/profile.h"
13 #include "chrome/browser/ssl/ssl_error_info.h" 12 #include "chrome/browser/ssl/ssl_error_info.h"
14 #include "chrome/browser/tab_contents/navigation_controller.h" 13 #include "chrome/browser/tab_contents/navigation_controller.h"
15 #include "chrome/browser/tab_contents/navigation_entry.h" 14 #include "chrome/browser/tab_contents/navigation_entry.h"
16 #include "chrome/browser/tab_contents/tab_contents.h" 15 #include "chrome/browser/tab_contents/tab_contents.h"
17 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 return SSLManager::GetEVCertName(*cert); 119 return SSLManager::GetEVCertName(*cert);
121 } 120 }
122 121
123 NavigationController* ToolbarModel::GetNavigationController() const { 122 NavigationController* ToolbarModel::GetNavigationController() const {
124 // This |current_tab| can be NULL during the initialization of the 123 // This |current_tab| can be NULL during the initialization of the
125 // toolbar during window creation (i.e. before any tabs have been added 124 // toolbar during window creation (i.e. before any tabs have been added
126 // to the window). 125 // to the window).
127 TabContents* current_tab = browser_->GetSelectedTabContents(); 126 TabContents* current_tab = browser_->GetSelectedTabContents();
128 return current_tab ? &current_tab->controller() : NULL; 127 return current_tab ? &current_tab->controller() : NULL;
129 } 128 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_gtk.cc ('k') | chrome/browser/utility_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698