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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.cc

Issue 164383: Renames the NavigationEntry::display_url() to virtual_url().... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/render_view_context_menu.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.cc (revision 23341)
+++ chrome/browser/tab_contents/render_view_context_menu.cc (working copy)
@@ -309,7 +309,7 @@
return true;
case IDS_CONTENT_CONTEXT_FULLSCREEN:
- // TODO(ajwong): Enable fullsceren after we actually implement this.
+ // TODO(ajwong): Enable fullscreen after we actually implement this.
return false;
// Media control commands should all be disabled if the player is in an
@@ -718,8 +718,8 @@
// Don't inspect about:network, about:memory, etc.
// However, we do want to inspect about:blank, which is often
// used by ordinary web pages.
- if (active_entry->display_url().SchemeIs(chrome::kAboutScheme) &&
- !LowerCaseEqualsASCII(active_entry->display_url().path(), "blank"))
+ if (active_entry->virtual_url().SchemeIs(chrome::kAboutScheme) &&
+ !LowerCaseEqualsASCII(active_entry->virtual_url().path(), "blank"))
return false;
// Don't enable the web inspector if JavaScript is disabled
« no previous file with comments | « chrome/browser/tab_contents/navigation_entry_unittest.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698