blob: faf93085f369074b7579333d11d9e80f6e68107b [file] [log] [blame] [view]
andybonsad92aa32015-08-31 02:27:441# Gtk vs ViewsGtk
andybons3322f762015-08-24 21:37:092
andybonsad92aa32015-08-31 02:27:443## Benefits of ViewsGtk
andybons3322f762015-08-24 21:37:094
andybonsad92aa32015-08-31 02:27:445* Better code sharing. For example, don't have to duplicate tab layout or
6 bookmark bar layout code.
7 * Tab Strip
8 * Drawing
9 * All the animationy bits
10 * Subtle click selection behavior (curved corners)
11 * Drag behavior, including dropping of files onto the URL bar
12 * Closing behavior
13 * Bookmarks bar
14 * drag & drop behavior, including menus
15 * chevron?
16* Easier for folks to work on both platforms without knowing much about the
17 underlying toolkits.
18* Don't have to implement ui features twice.
andybons3322f762015-08-24 21:37:0919
andybonsad92aa32015-08-31 02:27:4420## Benefits of Gtk
21
22* Dialogs
23 * Native feel layout
24 * Font size changes (e.g., changing the system font size will apply to our
25 dialogs)
xiaoyin.l1003c0b2016-12-06 02:51:1726 * Better RTL (e.g., https://crbug.com/2822 https://crbug.com/5729
27 https://crbug.com/6082 https://crbug.com/6103 https://crbug.com/6125
28 https://crbug.com/8686 https://crbug.com/8649)
andybonsad92aa32015-08-31 02:27:4429* Being able to obey the user's system theme
30* Accessibility for buttons and dialogs (but not for tabstrip and bookmarks)
31* A better change at good remote X performance?
32* We still would currently need Pango / Cairo for text layout, so it will be
33 more efficient to just draw that during the Gtk pipeline instead of with
34 Skia.
35* Gtk widgets will automatically "feel and behave" like Linux. The behavior of
36 our own Views system does not necessarily feel right on Linux.
37* People working on Windows features don't need to worry about breaking the
38 Linux build.