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

Unified Diff: chrome/browser/automation/testing_automation_provider.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/DEPS ('k') | chrome/browser/content_settings/tab_specific_content_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
===================================================================
--- chrome/browser/automation/testing_automation_provider.cc (revision 115900)
+++ chrome/browser/automation/testing_automation_provider.cc (working copy)
@@ -155,6 +155,7 @@
using content::ChildProcessHost;
using content::DownloadItem;
using content::DownloadManager;
+using content::NavigationEntry;
using content::PluginService;
using content::OpenURLParams;
using content::Referrer;
@@ -1284,7 +1285,7 @@
*title_string_size = -1; // -1 is the error code
if (tab_tracker_->ContainsHandle(handle)) {
NavigationController* tab = tab_tracker_->GetResource(handle);
- content::NavigationEntry* entry = tab->GetActiveEntry();
+ NavigationEntry* entry = tab->GetActiveEntry();
if (entry != NULL) {
*title = UTF16ToWideHack(entry->GetTitleForDisplay(""));
} else {
@@ -1573,7 +1574,7 @@
int* insecure_content_status) {
if (tab_tracker_->ContainsHandle(handle)) {
NavigationController* tab = tab_tracker_->GetResource(handle);
- content::NavigationEntry* entry = tab->GetActiveEntry();
+ NavigationEntry* entry = tab->GetActiveEntry();
*success = true;
*security_style = entry->GetSSL().security_style;
*ssl_cert_status = entry->GetSSL().cert_status;
@@ -1592,7 +1593,7 @@
content::PageType* page_type) {
if (tab_tracker_->ContainsHandle(handle)) {
NavigationController* tab = tab_tracker_->GetResource(handle);
- content::NavigationEntry* entry = tab->GetActiveEntry();
+ NavigationEntry* entry = tab->GetActiveEntry();
*page_type = entry->GetPageType();
*success = true;
// In order to return the proper result when an interstitial is shown and
@@ -1619,7 +1620,7 @@
IPC::Message* reply_message) {
if (tab_tracker_->ContainsHandle(handle)) {
NavigationController* tab = tab_tracker_->GetResource(handle);
- content::NavigationEntry* entry = tab->GetActiveEntry();
+ NavigationEntry* entry = tab->GetActiveEntry();
if (entry->GetPageType() == content::PAGE_TYPE_INTERSTITIAL) {
TabContents* tab_contents = tab->tab_contents();
InterstitialPage* ssl_blocking_page =
@@ -2972,7 +2973,7 @@
}
scoped_ptr<DictionaryValue> return_value(new DictionaryValue);
const NavigationController& controller = tab_contents->GetController();
- content::NavigationEntry* nav_entry = controller.GetActiveEntry();
+ NavigationEntry* nav_entry = controller.GetActiveEntry();
DCHECK(nav_entry);
// Security info.
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/content_settings/tab_specific_content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698