summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 16:46:35 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 16:46:35 +0000
commitb8012e696ee580d72ed465211dc818f4a4f9d0c8 (patch)
tree00c5cbbba93ac2d856e4aafd4756c8d4b33ee420 /chrome/browser
parent3e5645311762779764cc858193712b7368bb9485 (diff)
downloadchromium_src-b8012e696ee580d72ed465211dc818f4a4f9d0c8.zip
chromium_src-b8012e696ee580d72ed465211dc818f4a4f9d0c8.tar.gz
chromium_src-b8012e696ee580d72ed465211dc818f4a4f9d0c8.tar.bz2
Remove win-specific ifdefs to enable searching history. TEST=Searching history on NTP shound now do something, rather than nothing.
Review URL: http://codereview.chromium.org/115301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index b13fbb2..f76c711 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -1052,17 +1052,11 @@ void HistoryHandler::HandleSearchHistoryPage(const Value* content) {
std::wstring wstring_value;
if (string_value->GetAsString(&wstring_value)) {
UserMetrics::RecordAction(L"NTP_SearchHistory", dom_ui_->GetProfile());
-
-#if defined(OS_WIN)
-// TODO(port): include this once history is converted to HTML
dom_ui_->tab_contents()->controller().LoadURL(
HistoryUI::GetHistoryURLWithSearchText(wstring_value),
GURL(),
PageTransition::LINK);
// We are deleted by LoadURL, so do not call anything else.
-#else
- NOTIMPLEMENTED();
-#endif
}
}
}