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

Issue 8539038: Add ChromeBrowserMainExtraParts for non main parts. (Closed)

Created:
9 years, 1 month ago by stevenjb
Modified:
9 years, 1 month ago
Reviewers:
Nikita (slow), jam, sky
CC:
chromium-reviews, nkostylev+watch_chromium.org, Nirnimesh, John Grabowski, jam, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, anantha, darin-cc_chromium.org, dyu1, Paweł Hajdan Jr., dennis_jeffrey, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add ChromeBrowserParts for non main parts. This reverts the code back to a single instance of BrowserMainParts, with auxillary parts (Gtk, Views, Aura, Touch) implemented from a new base class, ChromeBrowserParts, which has a Chrome specific interface, allowing initialization to be better subdivided. This should fix the notifications auto tests. BUG=103821 TEST=Make sure all tests and autotests run Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110327

Patch Set 1 #

Patch Set 2 : Simplify CL. #

Total comments: 17

Patch Set 3 : Address review feedback #

Patch Set 4 : ChromeBrowserParts -> ChromeBrowserMainExtraParts #

Patch Set 5 : Rebase #

Patch Set 6 : . #

Patch Set 7 : Rebase + trivial name change #

Patch Set 8 : Rebase again + explicit reset of parts_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -585 lines) Patch
M chrome/browser/chrome_browser_main.h View 1 2 3 4 5 6 7 chunks +22 lines, -13 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 9 chunks +42 lines, -32 lines 0 comments Download
A chrome/browser/chrome_browser_main_extra_parts.h View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/chrome_browser_main_extra_parts.cc View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/chrome_browser_main_extra_parts_aura.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A + chrome/browser/chrome_browser_main_extra_parts_aura.cc View 1 2 3 4 3 chunks +4 lines, -26 lines 0 comments Download
A chrome/browser/chrome_browser_main_extra_parts_gtk.h View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
A + chrome/browser/chrome_browser_main_extra_parts_gtk.cc View 1 2 3 3 chunks +6 lines, -27 lines 0 comments Download
A chrome/browser/chrome_browser_main_extra_parts_touch.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A + chrome/browser/chrome_browser_main_extra_parts_touch.cc View 1 2 3 1 chunk +4 lines, -8 lines 0 comments Download
A chrome/browser/chrome_browser_main_extra_parts_views.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A + chrome/browser/chrome_browser_main_extra_parts_views.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/chrome_browser_main_linux.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chrome_browser_main_unittest.cc View 1 3 chunks +11 lines, -19 lines 0 comments Download
M chrome/browser/chrome_browser_parts_aura.h View 1 2 3 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/chrome_browser_parts_aura.cc View 1 2 3 4 1 chunk +0 lines, -48 lines 0 comments Download
M chrome/browser/chrome_browser_parts_gtk.h View 1 2 3 1 chunk +0 lines, -33 lines 0 comments Download
M chrome/browser/chrome_browser_parts_gtk.cc View 1 2 3 1 chunk +0 lines, -101 lines 0 comments Download
M chrome/browser/chrome_browser_parts_touch.h View 1 2 3 1 chunk +0 lines, -29 lines 0 comments Download
M chrome/browser/chrome_browser_parts_touch.cc View 1 2 3 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/browser/chrome_browser_parts_views.h View 1 2 3 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/chrome_browser_parts_views.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -60 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 3 chunks +21 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/notifications/desktop_notification_service_factory.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +10 lines, -8 lines 0 comments Download
M chrome/test/functional/PYAUTO_TESTS View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/browser_main_loop.h View 1 2 3 4 5 6 3 chunks +4 lines, -7 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 6 chunks +21 lines, -30 lines 0 comments Download
M content/browser/mock_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/mock_content_browser_client.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M content/public/browser/browser_main_parts.h View 3 chunks +5 lines, -10 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M content/shell/shell_browser_main.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M content/shell/shell_content_browser_client.cc View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
stevenjb
OK, third time is a charm. I think this is a better solution than the ...
9 years, 1 month ago (2011-11-12 03:10:16 UTC) #1
Nirnimesh
Please reference BUG=103427 too
9 years, 1 month ago (2011-11-12 06:17:35 UTC) #2
jam
http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_main.h File chrome/browser/chrome_browser_main.h (right): http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_main.h#newcode28 chrome/browser/chrome_browser_main.h:28: class ChromeBrowserParts; nit: order http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_parts.h File chrome/browser/chrome_browser_parts.h (right): http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_parts.h#newcode18 ...
9 years, 1 month ago (2011-11-14 19:45:54 UTC) #3
stevenjb
http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_main.h File chrome/browser/chrome_browser_main.h (right): http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_main.h#newcode28 chrome/browser/chrome_browser_main.h:28: class ChromeBrowserParts; On 2011/11/14 19:45:55, John Abd-El-Malek wrote: > ...
9 years, 1 month ago (2011-11-14 23:31:10 UTC) #4
jam
http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_parts.h File chrome/browser/chrome_browser_parts.h (right): http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_parts.h#newcode18 chrome/browser/chrome_browser_parts.h:18: class ChromeBrowserParts { On 2011/11/14 23:31:10, Steven Bennetts wrote: ...
9 years, 1 month ago (2011-11-15 00:10:51 UTC) #5
stevenjb
On 2011/11/15 00:10:51, John Abd-El-Malek wrote: > http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_parts.h > File chrome/browser/chrome_browser_parts.h (right): > > http://codereview.chromium.org/8539038/diff/2001/chrome/browser/chrome_browser_parts.h#newcode18 ...
9 years, 1 month ago (2011-11-15 01:19:56 UTC) #6
jam
On Mon, Nov 14, 2011 at 5:19 PM, <stevenjb@chromium.org> wrote: > On 2011/11/15 00:10:51, John ...
9 years, 1 month ago (2011-11-15 06:28:10 UTC) #7
jam
btw lgtm if it's easier for you to commit this as is, and then do ...
9 years, 1 month ago (2011-11-15 06:28:57 UTC) #8
stevenjb
PTAL Went ahead and did the rename. Will do a rebase + bot run next.
9 years, 1 month ago (2011-11-15 18:41:01 UTC) #9
jam
9 years, 1 month ago (2011-11-15 21:28:29 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698