-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #234 from MicrosoftEdge/smoketest/1.0.2357-testing
Update projects to use latest WebView2 SDK 1.0.2357-prerelease
- Loading branch information
Showing
47 changed files
with
935 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright (C) Microsoft Corporation. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "stdafx.h" | ||
|
||
#include "DiscardsComponent.h" | ||
|
||
DiscardsComponent::DiscardsComponent(AppWindow* appWindow) : m_appWindow(appWindow) | ||
{ | ||
m_appWindowDiscardsView = new AppWindow( | ||
IDM_CREATION_MODE_WINDOWED, appWindow->GetWebViewOption(), L"edge://discards/graph", | ||
appWindow->GetUserDataFolder(), false /* isMainWindow */, | ||
nullptr /* webviewCreatedCallback */, true /* customWindowRect */, {100, 100, 900, 900}, | ||
false /* shouldHaveToolbar */); | ||
|
||
m_appWindowDiscardsView->SetOnAppWindowClosing([&] { m_appWindow->DeleteComponent(this); }); | ||
} | ||
|
||
DiscardsComponent::~DiscardsComponent() | ||
{ | ||
m_appWindowDiscardsView->SetOnAppWindowClosing(nullptr); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright (C) Microsoft Corporation. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#pragma once | ||
|
||
#include "stdafx.h" | ||
|
||
#include "AppWindow.h" | ||
#include "ComponentBase.h" | ||
|
||
class DiscardsComponent : public ComponentBase | ||
{ | ||
public: | ||
DiscardsComponent(AppWindow* appWindow); | ||
~DiscardsComponent() override; | ||
|
||
private: | ||
AppWindow* m_appWindow = nullptr; | ||
|
||
// The AppWindow showing discards. | ||
AppWindow* m_appWindowDiscardsView; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.