Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add 'dom-ready' event to WebFrameMain (#30801)
- Loading branch information
Showing
12 changed files
with
261 additions
and
11 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
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,27 @@ | ||
// Copyright (c) 2021 Samuel Maddock <sam@samuelmaddock.com>. | ||
// Use of this source code is governed by the MIT license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef SHELL_COMMON_GIN_HELPER_ACCESSOR_H_ | ||
#define SHELL_COMMON_GIN_HELPER_ACCESSOR_H_ | ||
|
||
namespace gin_helper { | ||
|
||
// Wrapper for a generic value to be used as an accessor in a | ||
// gin_helper::Dictionary. | ||
template <typename T> | ||
struct AccessorValue { | ||
T Value; | ||
}; | ||
template <typename T> | ||
struct AccessorValue<const T&> { | ||
T Value; | ||
}; | ||
template <typename T> | ||
struct AccessorValue<const T*> { | ||
T* Value; | ||
}; | ||
|
||
} // namespace gin_helper | ||
|
||
#endif // SHELL_COMMON_GIN_HELPER_ACCESSOR_H_ |
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.