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

Unified Diff: components/dom_distiller/content/browser/distiller_javascript_service_impl.cc

Issue 2883643002: Clean up ReaderMode OverlayPanel classes (Closed)
Patch Set: remove extra enum Created 3 years, 6 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: components/dom_distiller/content/browser/distiller_javascript_service_impl.cc
diff --git a/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc b/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc
index 2dea5f1be2e3f5028ced02873134cf800a72ab9a..54244dcb89a5d186e0f7d788426cc15ec00eff4d 100644
--- a/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc
+++ b/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc
@@ -22,15 +22,6 @@ DistillerJavaScriptServiceImpl::DistillerJavaScriptServiceImpl(
DistillerJavaScriptServiceImpl::~DistillerJavaScriptServiceImpl() {}
-void DistillerJavaScriptServiceImpl::HandleDistillerClosePanelCall(
- bool animate) {
- base::RecordAction(base::UserMetricsAction("DomDistiller_ViewOriginal"));
- if (!distiller_ui_handle_) {
- return;
- }
- distiller_ui_handle_->ClosePanel(animate);
-}
-
void DistillerJavaScriptServiceImpl::HandleDistillerOpenSettingsCall() {
if (!distiller_ui_handle_) {
return;

Powered by Google App Engine
This is Rietveld 408576698