Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How did Chrome create a different GUI for the browser?

I am interested in how Chrome was able to write such a good looking GUI? What libraries and methods did they use?

I am particularly amazed that it acts 100% like a regular GUI - you can drag it by the blue strip and the regular buttons [_, o, x] are made differently. Also tab dragging is so seamless. In fact you can drag a tab outside of existing GUI and it will create a new window fluidly.

Does anyone know more details about this?

I am asking because I also want to write great looking GUI for my applications. And this is a good start to understand the process.

like image 459
bodacydo Avatar asked Jun 28 '10 13:06

bodacydo


People also ask

How was Chrome designed?

Development. Chrome was assembled from 25 different code libraries from Google and third parties such as Mozilla's Netscape Portable Runtime, Network Security Services, NPAPI (dropped as of version 45), Skia Graphics Engine, SQLite, and a number of other open-source projects.

What GUI framework does Chrome use?

The Chromium Embedded Framework (CEF) is an open-source software framework for embedding a Chromium web browser within another application.

How do I change the UI in Chrome?

From the control panel, select the search engine you want to edit. Click Look and feel from the menu on the left and then click the Themes tab. Select the theme you want to use. You can preview them in the box on the right.


2 Answers

I would advise against taking this approach. While Chrome does have an attractive GUI, breaking the design guidelines for your target platform is rarely (but sometimes) the path to creating an attractive, usable, intuitive user interface.

If you're looking to understand the process for developing a UI, then I would recommend that you explore the design guidelines for your target platform (Windows, it would appear, in your case).

like image 124
Adam Robinson Avatar answered Sep 21 '22 12:09

Adam Robinson


Likely purely Windows API.

There is are functions in Win32 to override almost any aspect of Window behavior / and or look. For example, you can intercept the WM_NC_PAINT message to paint the "non-client area" (title bar and max/min buttons). You can do this on any app, in fact.

like image 36
bobobobo Avatar answered Sep 19 '22 12:09

bobobobo