electron/shell
trop[bot] 3fdcd38b8b
refactor: simplify some BaseWindow JS getters (#46565)
* refactor: return a std::array<int 2> from BaseWindow::GetMaximumSize()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: return a std::array<int 2> from BaseWindow::GetMinimumSize()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: return a std::array<int 2> from BaseWindow::GetPosition()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: return a std::array<int 2> from BaseWindow::GetSize()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: return a std::array<int 2> from BaseWindow::GetContentSize()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: extract helper method ToArray(const gfx::Size)

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: #include correctness

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-04-08 13:44:15 -05:00
..
app chore: bump chromium to 136.0.7095.0 (36-x-y) (#46184) 2025-04-07 13:09:35 -05:00
browser refactor: simplify some BaseWindow JS getters (#46565) 2025-04-08 13:44:15 -05:00
common refactor: simplify some BaseWindow JS getters (#46565) 2025-04-08 13:44:15 -05:00
renderer perf: prefer absl::flat_hash_set over std::set when sorted order is not needed (#46440) 2025-04-03 22:21:48 -05:00
services/node fix: destroy parent port backend when JS env exits (#46496) 2025-04-04 14:11:05 -05:00
utility fix: broken OOP window.print() on macOS/Linux (#45214) 2025-01-20 10:23:44 +01:00