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

Unified Diff: chrome/browser/instant/instant_loader.cc

Issue 8956059: Rename NavigationController to NavigationControllerImpl and put it into the content namespace. Al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/infobars/infobar_delegate.cc ('k') | chrome/browser/memory_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_loader.cc
===================================================================
--- chrome/browser/instant/instant_loader.cc (revision 115900)
+++ chrome/browser/instant/instant_loader.cc (working copy)
@@ -51,6 +51,8 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/codec/png_codec.h"
+using content::NavigationEntry;
+
namespace {
// Number of ms to delay before updating the omnibox bounds. This is only used
@@ -142,7 +144,7 @@
switch (type) {
case content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME: {
int page_id = *(content::Details<int>(details).ptr());
- content::NavigationEntry* active_entry =
+ NavigationEntry* active_entry =
tab_contents_->GetController().GetActiveEntry();
if (!active_entry || active_entry->GetPageID() != page_id ||
active_entry->GetUniqueID() != unique_id_) {
@@ -332,7 +334,7 @@
add_page_vector_[i].get());
}
- content::NavigationEntry* active_entry =
+ NavigationEntry* active_entry =
tab->tab_contents()->GetController().GetActiveEntry();
if (!active_entry) {
// It appears to be possible to get here with no active entry. This seems
@@ -549,7 +551,7 @@
const std::vector<std::string>& suggestions,
InstantCompleteBehavior behavior) {
TabContentsWrapper* source = loader_->preview_contents();
- content::NavigationEntry* entry =
+ NavigationEntry* entry =
source->tab_contents()->GetController().GetActiveEntry();
if (!entry || page_id != entry->GetPageID())
return;
« no previous file with comments | « chrome/browser/infobars/infobar_delegate.cc ('k') | chrome/browser/memory_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698