Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Issue 460134: Uses X mechanisms to get the screen size. (Closed)

Created:
11 years ago by Chris Masone
Modified:
9 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Uses X mechanisms to get the screen size in the event that there's no window manager to query. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34159

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -2 lines) Patch
M views/screen_gtk.cc View 1 2 2 chunks +29 lines, -2 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
Chris Masone
11 years ago (2009-12-09 01:18:46 UTC) #1
sky
http://codereview.chromium.org/460134/diff/1/2 File views/screen_gtk.cc (right): http://codereview.chromium.org/460134/diff/1/2#newcode8 views/screen_gtk.cc:8: #include <gdk/gdkx.h> nit: move this before gtk include. http://codereview.chromium.org/460134/diff/1/2#newcode41 ...
11 years ago (2009-12-09 05:12:22 UTC) #2
Chris Masone
http://codereview.chromium.org/460134/diff/1/2 File views/screen_gtk.cc (right): http://codereview.chromium.org/460134/diff/1/2#newcode8 views/screen_gtk.cc:8: #include <gdk/gdkx.h> On 2009/12/09 05:12:22, sky wrote: > nit: ...
11 years ago (2009-12-09 07:16:53 UTC) #3
sky
LGTM with the following change http://codereview.chromium.org/460134/diff/4002/7001 File views/screen_gtk.cc (right): http://codereview.chromium.org/460134/diff/4002/7001#newcode41 views/screen_gtk.cc:41: #if defined(OS_LINUX) This file ...
11 years ago (2009-12-09 16:34:34 UTC) #4
Chris Masone
11 years ago (2009-12-09 17:09:47 UTC) #5
http://codereview.chromium.org/460134/diff/4002/7001
File views/screen_gtk.cc (right):

http://codereview.chromium.org/460134/diff/4002/7001#newcode41
views/screen_gtk.cc:41: #if defined(OS_LINUX)
On 2009/12/09 16:34:34, sky wrote:
> This file is only compiled on linux, so no need for the ifdef.

fixed and committed

Powered by Google App Engine
This is Rietveld 408576698