UWP port: re-enable devtools

This commit is contained in:
Paul Rouget 2020-03-16 12:06:09 +01:00
parent 58ff35f5bf
commit 00395125f6
6 changed files with 34 additions and 7 deletions

View file

@ -14,6 +14,7 @@ using namespace winrt::Windows::UI::Xaml;
using namespace winrt::Windows::UI::Core;
using namespace winrt::Windows::UI::ViewManagement;
using namespace winrt::Windows::ApplicationModel::Core;
using namespace winrt::Windows::UI::Notifications;
namespace winrt::ServoApp::implementation {
BrowserPage::BrowserPage() {
@ -109,7 +110,10 @@ void BrowserPage::SetTransientMode(bool transient) {
void BrowserPage::SetArgs(hstring args) { servoControl().SetArgs(args); }
void BrowserPage::Shutdown() { servoControl().Shutdown(); }
void BrowserPage::Shutdown() {
ToastNotificationManager::History().Clear();
servoControl().Shutdown();
}
/**** USER INTERACTIONS WITH UI ****/