55

What GUI library does Google Chrome use?

Shay Erlichmen
  • 31,691
  • 7
  • 68
  • 87
hasen
  • 161,647
  • 65
  • 194
  • 231

5 Answers5

31

On Linux it uses GTK+, on Mac OS X Cocoa, and on Windows a custom views library, see http://www.youtube.com/watch?v=WsvNebq1dRg and also documents from http://dev.chromium.org:

Paweł Hajdan
  • 18,074
  • 9
  • 49
  • 65
29

As of May 2014 Google Chrome uses it's own custom UI stack called Aura. This is currently the case for all platforms except OSX.

References:

Waylon Flinn
  • 19,969
  • 15
  • 70
  • 72
11

You probably want their document entitled "Conventions and patterns for multi-platform development." Your answer is

Mac -> Cocoa,
Linux -> GTK,
Windows -> Their own custom "Windows Views"

You'll also see have an experimental "GTK Views", so it sounds like they're aiming for their own abstraction?

G Huxley
  • 1,130
  • 14
  • 19
8

On Windows WTL for the (well...) chrome, and WebKit for the HTML rendering.

Shay Erlichmen
  • 31,691
  • 7
  • 68
  • 87
5

WTL on Windows, as Shay said. All UI in the Mac and Linux versions is being written from scratch in Cocoa and GTK+ respectively. Only the logic (and WebKit, which renders the web pages) is fully cross-platform.

Jesper
  • 79
  • 3