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

Issue 10790083: shell dialogs: Move the linux implementations. (Closed)

Created:
8 years, 5 months ago by Elliot Glaysher
Modified:
8 years, 5 months ago
Reviewers:
Lei Zhang, awong, sky
CC:
chromium-reviews
Visibility:
Public.

Description

shell dialogs: Move the linux implementations. This moves the gtk and kde implementations to a common directory so a search will get all the code when we need to remove the normal gtk port. This isn't a pure move. Parts of SelectFileDialogImplKDE had to be rewritten to not use BrowserThread. BUG=134529 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148235

Patch Set 1 #

Total comments: 2

Patch Set 2 : Switch to MessageLoopProxy #

Patch Set 3 : Fix typo #

Total comments: 1

Patch Set 4 : awong nit #

Patch Set 5 : Rebase to tot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -1287 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +0 lines, -18 lines 0 comments Download
D chrome/browser/ui/gtk/select_file_dialog_impl.h View 1 chunk +0 lines, -80 lines 0 comments Download
D chrome/browser/ui/gtk/select_file_dialog_impl.cc View 1 chunk +0 lines, -90 lines 0 comments Download
D chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc View 1 chunk +0 lines, -548 lines 0 comments Download
D chrome/browser/ui/gtk/select_file_dialog_impl_kde.cc View 1 chunk +0 lines, -467 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +0 lines, -8 lines 0 comments Download
A + ui/base/dialogs/gtk/select_file_dialog_impl.h View 2 chunks +12 lines, -4 lines 0 comments Download
A + ui/base/dialogs/gtk/select_file_dialog_impl.cc View 3 chunks +8 lines, -7 lines 0 comments Download
A + ui/base/dialogs/gtk/select_file_dialog_impl_gtk.cc View 3 chunks +17 lines, -9 lines 0 comments Download
A + ui/base/dialogs/gtk/select_file_dialog_impl_kde.cc View 1 2 3 17 chunks +56 lines, -53 lines 0 comments Download
M ui/base/dialogs/select_file_dialog.cc View 5 chunks +5 lines, -3 lines 0 comments Download
M ui/base/strings/ui_strings.grd View 1 chunk +17 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Elliot Glaysher
The versions here in ui/base/dialogs/gtk/ are temporary for a few months until the linux_aura build ...
8 years, 5 months ago (2012-07-19 23:51:36 UTC) #1
Lei Zhang
lgtm
8 years, 5 months ago (2012-07-20 00:18:59 UTC) #2
awong
Not sure why I'm qualified for a KDE review, but module the comment below, basic ...
8 years, 5 months ago (2012-07-20 00:25:52 UTC) #3
sky
LGTM
8 years, 5 months ago (2012-07-20 15:29:13 UTC) #4
Elliot Glaysher
On 2012/07/20 00:25:52, awong wrote: > Why are we moving from FILE thread to WorkerPool ...
8 years, 5 months ago (2012-07-20 17:06:50 UTC) #5
awong
8 years, 5 months ago (2012-07-24 17:48:32 UTC) #6
LGTM w/ nit

https://chromiumcodereview.appspot.com/10790083/diff/13001/ui/base/dialogs/gt...
File ui/base/dialogs/gtk/select_file_dialog_impl_kde.cc (right):

https://chromiumcodereview.appspot.com/10790083/diff/13001/ui/base/dialogs/gt...
ui/base/dialogs/gtk/select_file_dialog_impl_kde.cc:99: // Call KDialog on the
FILE thread and post results back to the UI thread.
Update this comment please.  I think it should say something like "must be
called on the worker thread" since the caller does all the thread
management...unless you refactor it so the thread-bounce happens under this API.

Powered by Google App Engine
This is Rietveld 408576698