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

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

Issue 165485: Renames the NavigationEntry::display_url() to virtual_url(). (Closed)
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
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index 40cc05402f838254a6252aeb5de82e0851a78c3c..ac1fb8d7d919bd8d7415763d0f56c981189328fe 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -309,7 +309,7 @@ bool RenderViewContextMenu::IsItemCommandEnabled(int id) const {
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 @@ bool RenderViewContextMenu::IsDevCommandEnabled(int id) const {
// 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