diff --git a/libcef/browser/menu_creator.cc b/libcef/browser/menu_creator.cc index 5e8b757e2..b6224be3e 100644 --- a/libcef/browser/menu_creator.cc +++ b/libcef/browser/menu_creator.cc @@ -250,9 +250,6 @@ void CefMenuCreator::CreateDefaultModel() { model_->SetEnabled(MENU_ID_BACK, false); if (!browser_->CanGoForward()) model_->SetEnabled(MENU_ID_FORWARD, false); - - // TODO(cef): Enable once printing is supported. - model_->SetEnabled(MENU_ID_PRINT, false); } } @@ -304,8 +301,7 @@ void CefMenuCreator::ExecuteDefaultCommand(int command_id) { NOTIMPLEMENTED(); break; case MENU_ID_PRINT: - // TODO(cef): Implement. - NOTIMPLEMENTED(); + browser_->Print(); break; case MENU_ID_VIEW_SOURCE: browser_->GetFocusedFrame()->ViewSource();