summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorEmanuel Sprung <emanuel.sprung@gmail.com>2020-03-21 20:24:32 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-27 14:12:18 +0100
commit337ade9e4c9a473efe44dcbec6b3dd20f10cac2f (patch)
tree7d3e4c692ba3c572e05fda1c113ca9cfe94828b9 /Base
parenta9e943ae4cc15bce9d616fd0ec380a832cb255df (diff)
downloadserenity-337ade9e4c9a473efe44dcbec6b3dd20f10cac2f.zip
Browser: Add bookmarks bar
This patchset adds a bookmark bar that is backed by a json file backend. The json file is loaded and checked for the format. According to the format, the bookmarks bar is populated with the bookmark items. If the bookmarks do not fit into one line, an expader button is shown that brings up a menu containing the missing bookmark items. There is currently no way to add or remove bookmarks. A hover over a bookmark is also not yet showing the url in the statusbar.
Diffstat (limited to 'Base')
-rw-r--r--Base/home/anon/bookmarks.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/Base/home/anon/bookmarks.json b/Base/home/anon/bookmarks.json
new file mode 100644
index 0000000000..0ca1f3eab7
--- /dev/null
+++ b/Base/home/anon/bookmarks.json
@@ -0,0 +1,6 @@
+[
+ {
+ "title": "SerenityOS.org",
+ "url": "http://www.serenityos.org/"
+ }
+]