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

Issue 4200007: Refactor automation messages. (Closed)

Created:
10 years, 1 month ago by Elliot Glaysher
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, John Grabowski, Erik does not do reviews, jam, Aaron Boodman, anantha, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, Nirnimesh, brettw-cc_chromium.org, amit
Visibility:
Public.

Description

Refactor automation messages. automation_messages used to live in chrome/test/automation, when it's needed by browser and chrome_frame. When I started lifting code out of headers and into implementation files, I was getting link errors and temporarily solved the problem by compiling the cc files manually into libbrowser.a. Now this is part of chrome/common/ which is included by all targets needed. While doing this, discover that automation IPC redefines the ContextMenuParams struct. Rename it to MiniContextMenuParams. BUG=51409 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64637

Patch Set 1 #

Patch Set 2 : Add conflicting ContextMenuParams back and change name. #

Patch Set 3 : Fix linux pyauto paths #

Patch Set 4 : arrrgghhh chrome_frame #

Patch Set 5 : Fix check_deps by allowing this #

Total comments: 5

Patch Set 6 : comments #

Patch Set 7 : Hoist constants to chrome/common/ and undo check_deps subversion #

Patch Set 8 : chrome_frame no longer depends on tab_contents.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -200 lines) Patch
M chrome/browser/automation/automation_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_json.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_observers.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_resource_message_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_resource_tracker.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/chrome_frame_automation_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/extension_port_container.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/testing_automation_provider.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 5 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/ui_controls_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/url_request_automation_job.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_uitest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/external_tab_container_win.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/interstitial_page.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/navigation_controller.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/navigation_controller_unittest.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/tab_contents/navigation_entry.h View 2 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/tab_contents/navigation_entry_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/automation_constants.h View 1 chunk +36 lines, -0 lines 0 comments Download
A + chrome/common/automation_messages.h View 1 2 3 4 5 6 6 chunks +17 lines, -18 lines 0 comments Download
A + chrome/common/automation_messages.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/common/automation_messages_internal.h View 1 2 3 4 5 6 2 chunks +3 lines, -4 lines 0 comments Download
A chrome/common/page_type.h View 1 chunk +17 lines, -0 lines 0 comments Download
A + chrome/common/security_style.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/automation/autocomplete_edit_proxy.cc View 1 chunk +2 lines, -2 lines 0 comments Download
D chrome/test/automation/automation_constants.h View 1 chunk +0 lines, -46 lines 0 comments Download
M chrome/test/automation/automation_handle_tracker.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/automation_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/automation_proxy.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/automation/automation_proxy_uitest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/browser_proxy.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/automation/extension_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/extension_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/tab_proxy.h View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/test/automation/tab_proxy.cc View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/test/automation/window_proxy.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.i View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/reliability/page_load_test.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/test/ui/ui_test.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome_frame/cfproxy.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome_frame/cfproxy_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/cfproxy_support.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/cfproxy_test.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome_frame/chrome_active_document.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome_frame/chrome_active_document.cc View 2 3 4 5 6 7 2 chunks +1 line, -2 lines 0 comments Download
M chrome_frame/chrome_frame_activex_base.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/chrome_frame_delegate.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/chrome_frame_npapi.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome_frame/chrome_frame_npapi.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/chrome_frame_plugin.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/external_tab.h View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M chrome_frame/external_tab.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M chrome_frame/external_tab_test.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/plugin_url_request.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/test/automation_client_mock.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/test/net/test_automation_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/test/reliability/page_load_test.cc View 2 chunks +1 line, -1 line 0 comments Download
M ipc/ipc_message_impl_macros.h View 2 chunks +1 line, -1 line 0 comments Download
M ipc/ipc_message_macros.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Elliot Glaysher
Automation messages progressively get better. The history: 1) Everything is in a header. Everybody reaches ...
10 years, 1 month ago (2010-10-28 18:08:16 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/4200007/diff/2002/10023 File chrome/common/DEPS (right): http://codereview.chromium.org/4200007/diff/2002/10023#newcode28 chrome/common/DEPS:28: # (Also: the only thing used from these headers ...
10 years, 1 month ago (2010-10-28 18:37:17 UTC) #2
Nirnimesh
http://codereview.chromium.org/4200007/diff/2002/10022 File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/4200007/diff/2002/10022#newcode9 chrome/chrome_tests.gypi:9: 'common/pref_names.cc', Please include chrome/common/automation_constants.h here
10 years, 1 month ago (2010-10-28 18:43:29 UTC) #3
Elliot Glaysher
http://codereview.chromium.org/4200007/diff/2002/10022 File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/4200007/diff/2002/10022#newcode9 chrome/chrome_tests.gypi:9: 'common/pref_names.cc', On 2010/10/28 18:43:30, Nirnimesh wrote: > Please include ...
10 years, 1 month ago (2010-10-28 18:57:07 UTC) #4
Ben Goodger (Google)
Who uses these TabContents-specific automation messages and what for? How does the CF integration relate? ...
10 years, 1 month ago (2010-10-28 19:31:42 UTC) #5
Ben Goodger (Google)
On Thu, Oct 28, 2010 at 12:31 PM, Ben Goodger (Google) <ben@chromium.org>wrote: > Who uses ...
10 years, 1 month ago (2010-10-28 19:31:58 UTC) #6
amit
On 2010/10/28 19:31:58, Ben Goodger wrote: > On Thu, Oct 28, 2010 at 12:31 PM, ...
10 years, 1 month ago (2010-10-28 21:50:27 UTC) #7
Elliot Glaysher
> Who uses these TabContents-specific automation messages and what > for? How does the CF ...
10 years, 1 month ago (2010-10-29 21:22:20 UTC) #8
Ben Goodger (Google)
10 years, 1 month ago (2010-11-01 17:50:36 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698