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

Issue 10353007: Extract a minimal subset of WebDialogUI/WebDialogDelegate from src/chrome -> src/ui/web_dialogs

Created:
8 years, 7 months ago by jakesays
Modified:
8 years, 3 months ago
Reviewers:
CC:
chromium-reviews, tfarina, yoshiki+watch_chromium.org
Visibility:
Public.

Description

Extract a minimal subset of WebDialogUI/WebDialogDelegate from src/chrome -> src/ui/web_dialogs BUG=125841 TEST=Verify web dialogs function correctly after refactor.

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 9

Patch Set 7 : #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+955 lines, -661 lines) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/printing/cloud_print/cloud_print_setup_flow.h View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/print_dialog_cloud_internal.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/printing/print_preview_tab_controller.cc View 1 6 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 3 chunks +7 lines, -3 lines 1 comment Download
M chrome/browser/ui/browser.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_dialogs.h View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm View 1 2 3 4 5 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc View 1 2 3 4 5 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc View 1 6 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/web_dialog_view.h View 1 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/web_dialog_view.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/web_dialog_view_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/ui/webui/chrome_web_dialog_web_contents_delegate.h View 1 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/chrome_web_dialog_web_contents_delegate.cc View 1 1 chunk +111 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h View 1 4 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc View 1 2 3 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/constrained_web_dialog_ui.h View 1 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/constrained_web_dialog_ui.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
A chrome/browser/ui/webui/external_web_dialog_ui.h View 1 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/external_web_dialog_ui.cc View 1 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/feedback_ui.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_ui.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/task_manager/task_manager_dialog.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/test_web_dialog_delegate.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/web_dialog_controller.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/web_dialog_controller.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
D chrome/browser/ui/webui/web_dialog_delegate.h View 1 2 1 chunk +0 lines, -115 lines 0 comments Download
D chrome/browser/ui/webui/web_dialog_ui.h View 1 1 chunk +0 lines, -93 lines 0 comments Download
D chrome/browser/ui/webui/web_dialog_ui.cc View 1 1 chunk +0 lines, -134 lines 0 comments Download
D chrome/browser/ui/webui/web_dialog_web_contents_delegate.h View 1 1 chunk +0 lines, -80 lines 0 comments Download
D chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc View 1 1 chunk +0 lines, -119 lines 0 comments Download
M chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
A ui/web_dialogs/DEPS View 1 1 chunk +9 lines, -0 lines 0 comments Download
A ui/web_dialogs/web_dialog_delegate.h View 1 2 3 1 chunk +117 lines, -0 lines 4 comments Download
A ui/web_dialogs/web_dialog_notification_types.h View 1 1 chunk +31 lines, -0 lines 0 comments Download
A ui/web_dialogs/web_dialog_ui.h View 1 2 3 4 5 6 1 chunk +85 lines, -0 lines 1 comment Download
A ui/web_dialogs/web_dialog_ui.cc View 1 2 3 4 5 6 1 chunk +125 lines, -0 lines 0 comments Download
A ui/web_dialogs/web_dialog_web_contents_delegate.h View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
A ui/web_dialogs/web_dialog_web_contents_delegate.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A ui/web_dialogs/web_dialogs.gyp View 1 1 chunk +49 lines, -0 lines 0 comments Download
A ui/web_dialogs/web_dialogs_export.h View 1 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
mazda
https://chromiumcodereview.appspot.com/10353007/diff/1/chrome/browser/printing/print_preview_tab_controller.cc File chrome/browser/printing/print_preview_tab_controller.cc (right): https://chromiumcodereview.appspot.com/10353007/diff/1/chrome/browser/printing/print_preview_tab_controller.cc#newcode26 chrome/browser/printing/print_preview_tab_controller.cc:26: #include "chrome/browser/ui/webui/chrome_web_dialog_web_contents_delegate.h" Please sort alphabetically by running tools/sort-headers.py. https://chromiumcodereview.appspot.com/10353007/diff/1/ui/views/views.gyp ...
8 years, 7 months ago (2012-05-03 22:56:22 UTC) #1
tfarina
https://chromiumcodereview.appspot.com/10353007/diff/1/ui/web_dialogs/web_dialog_ui.h File ui/web_dialogs/web_dialog_ui.h (right): https://chromiumcodereview.appspot.com/10353007/diff/1/ui/web_dialogs/web_dialog_ui.h#newcode39 ui/web_dialogs/web_dialog_ui.h:39: class VIEWS_EXPORT WebDialogDelegate { And this class should be ...
8 years, 7 months ago (2012-05-03 22:59:53 UTC) #2
tfarina
https://chromiumcodereview.appspot.com/10353007/diff/1/ui/web_dialogs/web_dialog_ui.h File ui/web_dialogs/web_dialog_ui.h (right): https://chromiumcodereview.appspot.com/10353007/diff/1/ui/web_dialogs/web_dialog_ui.h#newcode37 ui/web_dialogs/web_dialog_ui.h:37: namespace views { On 2012/05/03 22:56:22, mazda wrote: > ...
8 years, 7 months ago (2012-05-03 23:17:29 UTC) #3
jakesays
Yeah my patch didn't have your new header in it, but I'm fixing that now. ...
8 years, 7 months ago (2012-05-03 23:23:32 UTC) #4
mazda
I ran try bot on your behalf. http://www.chromium.org/developers/testing/try-server-usage If there are any compile errors, please ...
8 years, 7 months ago (2012-05-04 05:01:38 UTC) #5
jakesays
https://chromiumcodereview.appspot.com/10353007/diff/24056/chrome/browser/ui/webui/external_web_dialog_ui.h File chrome/browser/ui/webui/external_web_dialog_ui.h (right): https://chromiumcodereview.appspot.com/10353007/diff/24056/chrome/browser/ui/webui/external_web_dialog_ui.h#newcode41 chrome/browser/ui/webui/external_web_dialog_ui.h:41: class ExternalWebDialogUI : public web_dialogs::WebDialogUI { On 2012/05/04 05:01:38, ...
8 years, 7 months ago (2012-05-04 05:07:58 UTC) #6
jakesays
https://chromiumcodereview.appspot.com/10353007/diff/24056/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h File chrome/browser/printing/cloud_print/cloud_print_setup_flow.h (right): https://chromiumcodereview.appspot.com/10353007/diff/24056/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h#newcode13 chrome/browser/printing/cloud_print/cloud_print_setup_flow.h:13: #include "ui/web_dialogs/web_dialog_delegate.h" On 2012/05/04 05:01:38, mazda wrote: > Please ...
8 years, 7 months ago (2012-05-04 05:10:53 UTC) #7
tfarina
-me. Moving myself to CC list. You should probably get Ben to review this as ...
8 years, 7 months ago (2012-05-04 18:09:13 UTC) #8
tfarina
http://codereview.chromium.org/10353007/diff/25015/ui/web_dialogs/web_dialog_delegate.h File ui/web_dialogs/web_dialog_delegate.h (right): http://codereview.chromium.org/10353007/diff/25015/ui/web_dialogs/web_dialog_delegate.h#newcode5 ui/web_dialogs/web_dialog_delegate.h:5: #ifndef UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_ Please, fix this! You should move in ...
8 years, 7 months ago (2012-05-04 18:10:39 UTC) #9
tfarina
http://codereview.chromium.org/10353007/diff/25015/ui/web_dialogs/web_dialog_ui.h File ui/web_dialogs/web_dialog_ui.h (right): http://codereview.chromium.org/10353007/diff/25015/ui/web_dialogs/web_dialog_ui.h#newcode35 ui/web_dialogs/web_dialog_ui.h:35: namespace web_dialogs { Just to note, web_dialogs seems not ...
8 years, 7 months ago (2012-05-04 18:12:21 UTC) #10
jakesays
I'm ok with whatever namespace you guys decide on. I used web_dialogs based on feedback ...
8 years, 7 months ago (2012-05-04 18:15:47 UTC) #11
tfarina
http://codereview.chromium.org/10353007/diff/25015/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): http://codereview.chromium.org/10353007/diff/25015/chrome/browser/ui/browser.h#newcode498 chrome/browser/ui/browser.h:498: BrowserShowWebDialog(web_dialogs::WebDialogDelegate* delegate, the old indentation is right, when the ...
8 years, 7 months ago (2012-05-04 18:16:37 UTC) #12
jakesays
https://chromiumcodereview.appspot.com/10353007/diff/25015/ui/web_dialogs/web_dialog_delegate.h File ui/web_dialogs/web_dialog_delegate.h (right): https://chromiumcodereview.appspot.com/10353007/diff/25015/ui/web_dialogs/web_dialog_delegate.h#newcode5 ui/web_dialogs/web_dialog_delegate.h:5: #ifndef UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_ How do I go about doing that? ...
8 years, 7 months ago (2012-05-04 18:18:09 UTC) #13
tfarina
https://chromiumcodereview.appspot.com/10353007/diff/25015/ui/web_dialogs/web_dialog_delegate.h File ui/web_dialogs/web_dialog_delegate.h (right): https://chromiumcodereview.appspot.com/10353007/diff/25015/ui/web_dialogs/web_dialog_delegate.h#newcode5 ui/web_dialogs/web_dialog_delegate.h:5: #ifndef UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_ On 2012/05/04 18:18:09, jakesays wrote: > How ...
8 years, 7 months ago (2012-05-04 18:21:02 UTC) #14
jakesays
8 years, 7 months ago (2012-05-04 18:26:44 UTC) #15
https://chromiumcodereview.appspot.com/10353007/diff/25015/ui/web_dialogs/web...
File ui/web_dialogs/web_dialog_delegate.h (right):

https://chromiumcodereview.appspot.com/10353007/diff/25015/ui/web_dialogs/web...
ui/web_dialogs/web_dialog_delegate.h:5: #ifndef
UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_
Eh, it didn't even occur to me to move. I just added/deleted. Sorry about that -
I'll upload a new patch when I return from lunch.

On 2012/05/04 18:21:02, tfarina wrote:
> On 2012/05/04 18:18:09, jakesays wrote:
> > How do I go about doing that? I used the same process for this file that I
did
> > for the others.
> >
> I don't know what you did. Did you move using svn or git? When I move files
with
> git, rietveld shows correct the history. The way it's now seems that this file
> was written from scratch, but it wasn't.
>

Powered by Google App Engine
This is Rietveld 408576698