Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion SampleApps/WebView2APISample/AppWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "ScenarioAuthentication.h"
#include "ScenarioClientCertificateRequested.h"
#include "ScenarioCookieManagement.h"
#include "ScenarioCustomDataPartition.h"
#include "ScenarioCustomDownloadExperience.h"
#include "ScenarioCustomScheme.h"
#include "ScenarioCustomSchemeNavigate.h"
Expand Down Expand Up @@ -537,6 +538,11 @@ bool AppWindow::ExecuteWebViewCommands(WPARAM wParam, LPARAM lParam)
NewComponent<ScenarioWebRtcUdpPortConfiguration>(this);
return true;
}
case IDM_SCENARIO_CUSTOM_DATA_PARTITION:
{
NewComponent<ScenarioCustomDataPartition>(this);
return true;
}
case IDM_SCENARIO_ADD_HOST_OBJECT:
{
NewComponent<ScenarioAddHostObject>(this);
Expand Down Expand Up @@ -2314,7 +2320,6 @@ void AppWindow::RegisterEventHandlers()
{
if (!m_shouldHandleNewWindowRequest)
{
args->put_Handled(FALSE);
return S_OK;
}
wil::com_ptr<ICoreWebView2NewWindowRequestedEventArgs> args_as_comptr = args;
Expand Down
Loading