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

Issue 7977025: aura: Make 'ui' buildable without gtk. (Closed)

Created:
9 years, 3 months ago by sadrul
Modified:
9 years, 3 months ago
CC:
chromium-reviews, jshin+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

aura: Make 'ui' buildable without gtk. BUG=97131 TEST=ui_unittests links and runs with use_aura=1 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102131

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : exclude pango files from win #

Total comments: 2

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -1170 lines) Patch
M build/linux/system.gyp View 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/language_switch_menu.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/demo/demo_main.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard.h View 1 chunk +1 line, -1 line 0 comments Download
A ui/base/clipboard/clipboard_aura.cc View 1 chunk +150 lines, -0 lines 0 comments Download
A + ui/base/clipboard/clipboard_gtk.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/base/clipboard/clipboard_linux.cc View 1 chunk +0 lines, -467 lines 0 comments Download
M ui/base/clipboard/clipboard_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data.h View 2 chunks +4 lines, -2 lines 0 comments Download
M ui/base/l10n/l10n_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/base/resource/resource_bundle.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/resource/resource_bundle_linux.cc View 5 chunks +13 lines, -2 lines 0 comments Download
M ui/gfx/canvas_skia.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/canvas_skia_linux.cc View 5 chunks +11 lines, -7 lines 0 comments Download
M ui/gfx/insets.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/native_widget_types.h View 5 chunks +14 lines, -4 lines 0 comments Download
M ui/gfx/pango_util.cc View 3 chunks +3 lines, -3 lines 0 comments Download
D ui/gfx/platform_font_gtk.h View 1 chunk +0 lines, -112 lines 0 comments Download
D ui/gfx/platform_font_gtk.cc View 1 chunk +0 lines, -471 lines 0 comments Download
A + ui/gfx/platform_font_pango.h View 3 chunks +8 lines, -8 lines 0 comments Download
A + ui/gfx/platform_font_pango.cc View 14 chunks +56 lines, -56 lines 0 comments Download
M ui/gfx/rect.h View 4 chunks +4 lines, -4 lines 0 comments Download
M ui/gfx/rect.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/ui.gyp View 1 2 3 7 chunks +26 lines, -14 lines 0 comments Download
M ui/ui_unittests.gypi View 2 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sadrul
The more significant changes: * Rename PlatformFontGtk to PlatformFontPango * Rename clipboard_linux to clipboard_gtk. * ...
9 years, 3 months ago (2011-09-21 15:36:01 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/7977025/diff/51/ui/aura/demo/demo_main.cc File ui/aura/demo/demo_main.cc (right): http://codereview.chromium.org/7977025/diff/51/ui/aura/demo/demo_main.cc#newcode75 ui/aura/demo/demo_main.cc:75: #if defined(TOOLKIT_USES_GTK) I am confused by this... sense seems ...
9 years, 3 months ago (2011-09-21 16:08:39 UTC) #2
sky
On Wed, Sep 21, 2011 at 8:36 AM, <sadrul@chromium.org> wrote: > Reviewers: Ben Goodger (Google), ...
9 years, 3 months ago (2011-09-21 16:11:09 UTC) #3
sadrul
http://codereview.chromium.org/7977025/diff/51/ui/aura/demo/demo_main.cc File ui/aura/demo/demo_main.cc (right): http://codereview.chromium.org/7977025/diff/51/ui/aura/demo/demo_main.cc#newcode75 ui/aura/demo/demo_main.cc:75: #if defined(TOOLKIT_USES_GTK) On 2011/09/21 16:08:39, Ben Goodger (Google) wrote: ...
9 years, 3 months ago (2011-09-21 16:14:18 UTC) #4
Ben Goodger (Google)
On Wed, Sep 21, 2011 at 9:14 AM, <sadrul@chromium.org> wrote: > This is ... a ...
9 years, 3 months ago (2011-09-21 16:28:03 UTC) #5
sadrul
On 2011/09/21 16:28:03, Ben Goodger (Google) wrote: > On Wed, Sep 21, 2011 at 9:14 ...
9 years, 3 months ago (2011-09-21 16:47:36 UTC) #6
Ben Goodger (Google)
9 years, 3 months ago (2011-09-21 16:48:55 UTC) #7
ic. LGTM then.

On Wed, Sep 21, 2011 at 9:47 AM, <sadrul@chromium.org> wrote:

> On 2011/09/21 16:28:03, Ben Goodger (Google) wrote:
>
>  On Wed, Sep 21, 2011 at 9:14 AM, <mailto:sadrul@chromium.org> wrote:
>>
>
>  > This is ... a bit weird. When TOOLKIT_USES_GTK is set, the MPX can work
>> > both with and without GTK events, but we don't want GTK events, so we
>> > disable them. When TOOLKIT_USES_GTK is not set, the MPX doesn't know
>> > anything about GTK events at all, so we don't need to explicitly disable
>> > gtk events here.
>>
>
>
>  But why would we be building this code with TOOLKIT_USES_GTK set at all?
>>
>
> Right now, TOOLKIT_USES_GTK is still turned on for use_aura, because
> otherwise
> aura/aura_shell doesn't compile. Originally, with
>
http://codereview.chromium.**org/7904034/<http://codereview.chromium.org/7904...,
> I turned it off. But it made it
> difficult for Oshima san and others to make progress, so I added
>
http://codereview.chromium.**org/7978016<http://codereview.chromium.org/79780...
turn the flag back on. After this CL
> lands, with some additional changes, we can turn it back off, and this can
> be
> removed then.
>
>
>
http://codereview.chromium.**org/7977025/<http://codereview.chromium.org/7977...
>

Powered by Google App Engine
This is Rietveld 408576698