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

Side by Side Diff: chrome/browser/ui/views/location_bar/click_handler.cc

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay, more syncing Created 9 years, 11 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) 2011 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/click_handler.h" 5 #include "chrome/browser/ui/views/location_bar/click_handler.h"
6 6
7 #include "chrome/browser/tab_contents/navigation_controller.h" 7 #include "chrome/browser/tab_contents/navigation_controller.h"
8 #include "chrome/browser/tab_contents/tab_contents.h" 8 #include "chrome/browser/tab_contents/tab_contents.h"
9 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 9 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
10 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" 10 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
11 #include "views/view.h" 11 #include "views/view.h"
12 12
13 ClickHandler::ClickHandler(const views::View* owner, 13 ClickHandler::ClickHandler(const views::View* owner,
14 const LocationBarView* location_bar) 14 const LocationBarView* location_bar)
15 : owner_(owner), 15 : owner_(owner),
(...skipping 12 matching lines...) Expand all
28 28
29 TabContents* tab = location_bar_->GetTabContentsWrapper()->tab_contents(); 29 TabContents* tab = location_bar_->GetTabContentsWrapper()->tab_contents();
30 NavigationEntry* nav_entry = tab->controller().GetActiveEntry(); 30 NavigationEntry* nav_entry = tab->controller().GetActiveEntry();
31 if (!nav_entry) { 31 if (!nav_entry) {
32 NOTREACHED(); 32 NOTREACHED();
33 return; 33 return;
34 } 34 }
35 tab->ShowPageInfo(nav_entry->url(), nav_entry->ssl(), true); 35 tab->ShowPageInfo(nav_entry->url(), nav_entry->ssl(), true);
36 } 36 }
37 37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698