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

Issue 7096016: Remove JS dialog dependency from content. (Closed)

Created:
9 years, 6 months ago by Avi (use Gerrit)
Modified:
9 years, 6 months ago
Reviewers:
jam
CC:
chromium-reviews, jam, Erik does not do reviews, Paweł Hajdan Jr., kkania, joi+watch-content_chromium.org, Aaron Boodman, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Remove JS dialog dependency from content. BUG=71097 TEST=all types of javascript dialogs work, onbeforeunload dialogs work too Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87806

Patch Set 1 #

Patch Set 2 : slight cleanup #

Patch Set 3 : works now, really #

Patch Set 4 : one more DEPS item removal #

Total comments: 4

Patch Set 5 : now a tc delegate #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+519 lines, -306 lines) Patch
M chrome/browser/automation/automation_tab_helper_browsertest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/app_background_page_apitest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 3 4 4 chunks +10 lines, -16 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 3 4 6 chunks +25 lines, -39 lines 0 comments Download
M chrome/browser/external_tab_container_win.h View 1 2 3 4 1 chunk +3 lines, -0 lines 2 comments Download
M chrome/browser/external_tab_container_win.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sidebar/sidebar_container.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sidebar/sidebar_container.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/background_contents.h View 1 2 3 4 3 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/tab_contents/background_contents.cc View 2 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_ssl_helper.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h View 1 2 3 4 7 chunks +26 lines, -36 lines 0 comments Download
M chrome/browser/ui/app_modal_dialogs/js_modal_dialog.cc View 1 2 3 4 4 chunks +23 lines, -21 lines 0 comments Download
M chrome/browser/ui/app_modal_dialogs/message_box_handler.h View 1 2 3 4 2 chunks +6 lines, -31 lines 0 comments Download
chrome/browser/ui/app_modal_dialogs/message_box_handler.cc View 1 2 3 4 4 chunks +144 lines, -44 lines 2 comments Download
M chrome/browser/ui/blocked_content/blocked_content_container.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/blocked_content/blocked_content_container.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/js_modal_dialog_cocoa.mm View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/gtk/js_modal_dialog_gtk.cc View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/html_dialog_view_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/js_modal_dialog_views.cc View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector_win.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/dragged_tab_controller.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/dragged_tab_controller.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/web_applications/web_app_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/flags_ui.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/flash_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/advanced_options_handler.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/textfields_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/web_ui_browsertest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
A content/browser/javascript_dialogs.h View 1 2 3 4 1 chunk +75 lines, -0 lines 1 comment Download
M content/browser/renderer_host/render_view_host_browsertest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents.h View 1 2 3 4 6 chunks +10 lines, -24 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 8 chunks +45 lines, -52 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.h View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.cc View 1 2 3 4 2 chunks +40 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Avi (use Gerrit)
9 years, 6 months ago (2011-06-01 19:03:43 UTC) #1
jam
http://codereview.chromium.org/7096016/diff/3033/content/browser/content_browser_client.cc File content/browser/content_browser_client.cc (right): http://codereview.chromium.org/7096016/diff/3033/content/browser/content_browser_client.cc#newcode112 content/browser/content_browser_client.cc:112: IPC::Message* reply_msg) { shouldn't the default implementation call delegate? ...
9 years, 6 months ago (2011-06-01 19:20:07 UTC) #2
Avi (use Gerrit)
http://codereview.chromium.org/7096016/diff/3033/content/browser/content_browser_client.cc File content/browser/content_browser_client.cc (right): http://codereview.chromium.org/7096016/diff/3033/content/browser/content_browser_client.cc#newcode112 content/browser/content_browser_client.cc:112: IPC::Message* reply_msg) { On 2011/06/01 19:20:08, John Abd-El-Malek wrote: ...
9 years, 6 months ago (2011-06-01 19:40:34 UTC) #3
Avi (use Gerrit)
New version; ptal.
9 years, 6 months ago (2011-06-02 23:14:17 UTC) #4
jam
lgtm http://codereview.chromium.org/7096016/diff/9001/chrome/browser/external_tab_container_win.h File chrome/browser/external_tab_container_win.h (right): http://codereview.chromium.org/7096016/diff/9001/chrome/browser/external_tab_container_win.h#newcode173 chrome/browser/external_tab_container_win.h:173: virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator( this should be with the ...
9 years, 6 months ago (2011-06-03 00:21:45 UTC) #5
Avi (use Gerrit)
9 years, 6 months ago (2011-06-03 17:36:44 UTC) #6
Reformatted. I have some followup ideas.

Powered by Google App Engine
This is Rietveld 408576698