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

Issue 688853005: Consolidate javascript_dialog_manager.h and javascript_dialog_manager_impl.h (Closed)

Created:
6 years, 1 month ago by oshima
Modified:
6 years, 1 month ago
Reviewers:
msw, Avi (use Gerrit), sky
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Consolidate javascript_dialog_manager.h and javascript_dialog_manager_impl.h * Renamed JavaScriptDialgoManagerImpl to JavaScriptDialogManager. * Add namespace app_modal_dialogs * Add namespace javascript_dialog_extensions_client * Shortened InstallJavaScriptDialogExtensionsClient to InstallClient to fit the 80 chars limit. BUG=410499 TBR=sky@chromium.org Committed: https://crrev.com/0929be2a6d3e1880cfb047a7adc1c3e8e6dd5285 Cr-Commit-Position: refs/heads/master@{#304903}

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : namespace #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Total comments: 7

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+453 lines, -429 lines) Patch
M athena/content/web_activity.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M athena/extensions/athena_javascript_native_dialog_factory.cc View 1 2 3 4 5 6 2 chunks +9 lines, -8 lines 0 comments Download
M athena/extensions/extensions_delegate.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/chrome_web_contents_delegate_android.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/signin/oauth2_browsertest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_sanity_browsertest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/alert_apitest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/chrome_extension_host_delegate.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/lazy_background_page_apitest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/lifetime/browser_close_manager_browsertest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/android/javascript_app_modal_dialog_android.h View 1 2 3 4 5 6 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/android/javascript_app_modal_dialog_android.cc View 1 2 3 4 5 6 4 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h View 1 2 3 4 5 6 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.mm View 1 2 3 4 5 6 7 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/chrome_javascript_native_dialog_factory_views.cc View 1 2 3 4 5 6 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/javascript_app_modal_dialog_views_x11.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/javascript_app_modal_dialog_views_x11.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/unload_browsertest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/test/base/ui_test_utils.h View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 2 3 4 5 6 5 chunks +7 lines, -6 lines 0 comments Download
M components/app_modal.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M components/app_modal/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M components/app_modal/app_modal_dialog.h View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M components/app_modal/app_modal_dialog.cc View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M components/app_modal/app_modal_dialog_queue.h View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M components/app_modal/app_modal_dialog_queue.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M components/app_modal/javascript_app_modal_dialog.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M components/app_modal/javascript_app_modal_dialog.cc View 1 2 3 4 5 6 6 chunks +7 lines, -5 lines 0 comments Download
M components/app_modal/javascript_dialog_extensions_client.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M components/app_modal/javascript_dialog_manager.h View 1 2 3 4 5 6 1 chunk +72 lines, -18 lines 0 comments Download
M components/app_modal/javascript_dialog_manager.cc View 1 2 3 4 5 6 1 chunk +222 lines, -11 lines 0 comments Download
D components/app_modal/javascript_dialog_manager_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -79 lines 0 comments Download
D components/app_modal/javascript_dialog_manager_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -233 lines 0 comments Download
M components/app_modal/javascript_native_dialog_factory.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M components/app_modal/native_app_modal_dialog.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M components/app_modal/views/javascript_app_modal_dialog_views.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M components/app_modal/views/javascript_app_modal_dialog_views.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M extensions/components/javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M extensions/components/javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.cc View 1 2 3 4 5 6 3 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (9 generated)
oshima
6 years, 1 month ago (2014-11-06 07:17:25 UTC) #7
Avi (use Gerrit)
OK, I see what you mean by the duplicate name thing. In the past, we've ...
6 years, 1 month ago (2014-11-06 15:48:36 UTC) #8
oshima
+msw@, do you have any suggestion?
6 years, 1 month ago (2014-11-06 16:04:33 UTC) #10
msw
According to //src/components/README: Code in a component should be placed in a namespace corresponding to ...
6 years, 1 month ago (2014-11-06 17:12:39 UTC) #11
oshima
ok I'll add namespace. avi@, is it sufficient? I just want to double check because ...
6 years, 1 month ago (2014-11-06 18:05:54 UTC) #12
Avi (use Gerrit)
SGTM. LGTM
6 years, 1 month ago (2014-11-06 18:57:15 UTC) #13
oshima
uploaded new patch PTAL. Additional changes: * Add namespace app_modal_dialogs * Add namespace javascript_dialog_extensions_client * ...
6 years, 1 month ago (2014-11-07 19:39:25 UTC) #14
msw
Yikes, the namespace and the types combine to offer a lot of naming verbosity and ...
6 years, 1 month ago (2014-11-11 08:34:53 UTC) #15
oshima
> Yikes, the namespace and the types combine to offer a lot > of naming ...
6 years, 1 month ago (2014-11-11 18:19:48 UTC) #16
oshima
ping?
6 years, 1 month ago (2014-11-14 19:04:13 UTC) #17
msw
Naming the component and namespace "app_modal" would match the "web_modal" component for web-modal dialogs. I ...
6 years, 1 month ago (2014-11-15 00:51:57 UTC) #18
oshima
On 2014/11/15 00:51:57, msw wrote: > Naming the component and namespace "app_modal" would match the ...
6 years, 1 month ago (2014-11-17 19:03:29 UTC) #19
msw
On 2014/11/17 19:03:29, oshima wrote: > On 2014/11/15 00:51:57, msw wrote: > > Naming the ...
6 years, 1 month ago (2014-11-17 19:15:58 UTC) #20
oshima
https://codereview.chromium.org/688853005/diff/180001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/688853005/diff/180001/chrome/browser/ui/views/frame/browser_view.cc#newcode1513 chrome/browser/ui/views/frame/browser_view.cc:1513: app_modal_dialogs::AppModalDialogQueue::GetInstance()->ActivateModalDialog(); On 2014/11/15 00:51:56, msw wrote: > nit: use ...
6 years, 1 month ago (2014-11-18 17:42:41 UTC) #21
Avi (use Gerrit)
On 2014/11/18 17:42:41, oshima wrote: > https://codereview.chromium.org/688853005/diff/180001/chrome/browser/ui/views/frame/browser_view.cc > File chrome/browser/ui/views/frame/browser_view.cc (right): > > https://codereview.chromium.org/688853005/diff/180001/chrome/browser/ui/views/frame/browser_view.cc#newcode1513 > ...
6 years, 1 month ago (2014-11-18 18:17:02 UTC) #22
oshima
used app_modal instead of app_modal_dialog. I'll go ahead and land this once all bots get ...
6 years, 1 month ago (2014-11-19 20:59:26 UTC) #23
oshima
tbr'ing sky for trival namespace change in chrome/browser and chrome/test
6 years, 1 month ago (2014-11-19 21:29:52 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/688853005/240001
6 years, 1 month ago (2014-11-19 21:31:46 UTC) #27
commit-bot: I haz the power
Committed patchset #8 (id:240001)
6 years, 1 month ago (2014-11-19 22:21:16 UTC) #28
commit-bot: I haz the power
6 years, 1 month ago (2014-11-19 22:22:06 UTC) #29
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0929be2a6d3e1880cfb047a7adc1c3e8e6dd5285
Cr-Commit-Position: refs/heads/master@{#304903}

Powered by Google App Engine
This is Rietveld 408576698