summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.cc
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 14:11:52 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 14:11:52 +0000
commite3e4c20194dd6efea907b4104284756fece37653 (patch)
treed952e270859222909d8bd39ad85cbec4c433a781 /chrome/browser/dom_ui/new_tab_ui.cc
parentfa34a7a36eef3100f3de056ebe79cb55fd62cf09 (diff)
downloadchromium_src-e3e4c20194dd6efea907b4104284756fece37653.zip
chromium_src-e3e4c20194dd6efea907b4104284756fece37653.tar.gz
chromium_src-e3e4c20194dd6efea907b4104284756fece37653.tar.bz2
Get history and download HTML UIs into Mac/Linux builds along with supporting icon scaffolding.
Review URL: http://codereview.chromium.org/39132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.cc')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index 105061b..34b3ba6 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -12,10 +12,7 @@
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/dom_ui/dom_ui_contents.h"
-#if defined(OS_WIN)
-// TODO(port): include this once history is converted to HTML
#include "chrome/browser/dom_ui/history_ui.h"
-#endif
#include "chrome/browser/history/page_usage_data.h"
#include "chrome/browser/metrics/user_metrics.h"
#include "chrome/browser/profile.h"
@@ -718,15 +715,10 @@ HistoryHandler::HistoryHandler(DOMUI* dom_ui)
void HistoryHandler::HandleShowHistoryPage(const Value*) {
NavigationController* controller = dom_ui_->get_contents()->controller();
if (controller) {
-#if defined(OS_WIN)
-// TODO(port): include this once history is converted to HTML
UserMetrics::RecordAction(L"NTP_ShowHistory",
dom_ui_->get_profile());
controller->LoadURL(HistoryUI::GetBaseURL(), GURL(), PageTransition::LINK);
// We are deleted by LoadURL, so do not call anything else.
-#else
- NOTIMPLEMENTED();
-#endif
}
}