summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 23:03:04 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 23:03:04 +0000
commitc4cb7c0a340438f38d8e83cb5f261efdc94ea1a6 (patch)
treec0cdacf48e23f425b5cc726823ae206e69467ca3
parent945e9e7dde6c2a58686a9252c20b11c1de05d63a (diff)
downloadchromium_src-c4cb7c0a340438f38d8e83cb5f261efdc94ea1a6.zip
chromium_src-c4cb7c0a340438f38d8e83cb5f261efdc94ea1a6.tar.gz
chromium_src-c4cb7c0a340438f38d8e83cb5f261efdc94ea1a6.tar.bz2
Fix bustage in toolkit views build caused by lack of #ifdef OS_WIN
TBR=sky Review URL: http://codereview.chromium.org/113739 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16680 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/tab_contents/render_view_context_menu.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index 4842764..289bdd7 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -485,12 +485,17 @@ void RenderViewContextMenu::ExecuteItemCommand(int id) {
ssl.set_cert_status(cert_status);
ssl.set_security_bits(security_bits);
}
+#if defined(OS_WIN)
PageInfoWindow::CreateFrameInfo(
source_tab_contents_->profile(),
params_.frame_url,
ssl,
source_tab_contents_->GetContentNativeView(),
PageInfoWindow::SECURITY);
+#else
+ // TODO(port): port PageInfoWindow.
+ NOTIMPLEMENTED() << "IDS_CONTENT_CONTEXT_VIEWFRAMEINFO";
+#endif
break;
}