refactor: simplify some BaseWindow
JS getters (#46542)
* refactor: return a std::array<int 2> from BaseWindow::GetMaximumSize() * refactor: return a std::array<int 2> from BaseWindow::GetMinimumSize() * refactor: return a std::array<int 2> from BaseWindow::GetPosition() * refactor: return a std::array<int 2> from BaseWindow::GetSize() * refactor: return a std::array<int 2> from BaseWindow::GetContentSize() * refactor: extract helper method ToArray(const gfx::Size) * refactor: #include correctness
This commit is contained in:
parent
1a6de10da8
commit
636cbc19ac
3 changed files with 25 additions and 35 deletions
|
@ -5,6 +5,7 @@
|
|||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_
|
||||
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <functional>
|
||||
#include <map>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue