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

Unified Diff: chrome/browser/ui/views/location_bar/click_handler.cc

Issue 10533046: TabContentsWrapper -> TabContents, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compiling is good Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/click_handler.cc
diff --git a/chrome/browser/ui/views/location_bar/click_handler.cc b/chrome/browser/ui/views/location_bar/click_handler.cc
index a087e4c8168838631ee76952ed00b72793b6b0e7..7be1bfcc9d2c4e5cda0aaa55d5532af02263910c 100644
--- a/chrome/browser/ui/views/location_bar/click_handler.cc
+++ b/chrome/browser/ui/views/location_bar/click_handler.cc
@@ -4,7 +4,7 @@
#include "chrome/browser/ui/views/location_bar/click_handler.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/browser/ui/views/location_bar/location_bar_view.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
@@ -30,7 +30,7 @@ void ClickHandler::OnMouseReleased(const views::MouseEvent& event) {
if (location_bar_->GetLocationEntry()->IsEditingOrEmpty())
return;
- WebContents* tab = location_bar_->GetTabContentsWrapper()->web_contents();
+ WebContents* tab = location_bar_->GetTabContents()->web_contents();
const NavigationController& controller = tab->GetController();
NavigationEntry* nav_entry = controller.GetActiveEntry();
if (!nav_entry) {
« no previous file with comments | « chrome/browser/ui/gtk/location_bar_view_gtk.cc ('k') | chrome/browser/ui/views/location_bar/content_setting_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698