mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 20:47:45 +00:00
Browser: Move main browser window logic into a BrowserWindow class
Having so much the logic and lambdas in main() was getting unwieldy. Moving it into a class simplifies this, and also opens up a path towards supporting "Open in New Window" :^)
This commit is contained in:
parent
5d0c3bd564
commit
719168a1cd
4 changed files with 228 additions and 151 deletions
|
@ -5,17 +5,18 @@ compile_gml(Tab.gml TabGML.h tab_gml)
|
|||
set(SOURCES
|
||||
BookmarksBarWidget.cpp
|
||||
BrowserConsoleClient.cpp
|
||||
BrowserWindow.cpp
|
||||
BrowserWindowGML.h
|
||||
ConsoleWidget.cpp
|
||||
CookieJar.cpp
|
||||
DownloadWidget.cpp
|
||||
EditBookmarkGML.h
|
||||
History.cpp
|
||||
InspectorWidget.cpp
|
||||
main.cpp
|
||||
Tab.cpp
|
||||
WindowActions.cpp
|
||||
BrowserWindowGML.h
|
||||
EditBookmarkGML.h
|
||||
TabGML.h
|
||||
WindowActions.cpp
|
||||
main.cpp
|
||||
)
|
||||
|
||||
serenity_app(Browser ICON app-browser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue