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

Issue 7948006: Get rid of content::DidEndMainMessageLoop since it was declared in content but defined in chrome,... (Closed)

Created:
9 years, 3 months ago by jam
Modified:
9 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, dpranke+watch-content_chromium.org
Visibility:
Public.

Description

Get rid of content::DidEndMainMessageLoop since it was declared in content but defined in chrome, and called by chrome. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101924

Patch Set 1 #

Total comments: 7

Patch Set 2 : sync after revert #

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -33 lines) Patch
M chrome/browser/browser_process_impl.cc View 1 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main_gtk.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/chrome_browser_main_mac.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_mac.mm View 1 2 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M content/browser/browser_main.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/browser_main.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jam
9 years, 3 months ago (2011-09-19 20:59:16 UTC) #1
willchan no longer on Chromium
I see. I'm going to redo my CL not to use DidEndMainMessageLoop() and rather create ...
9 years, 3 months ago (2011-09-19 21:52:49 UTC) #2
willchan no longer on Chromium
Oops, foirgot to send LGTM On Mon, Sep 19, 2011 at 2:52 PM, <willchan@chromium.org> wrote: ...
9 years, 3 months ago (2011-09-19 22:08:29 UTC) #3
jam
http://codereview.chromium.org/7948006/diff/1/chrome/browser/chrome_browser_main_mac.mm File chrome/browser/chrome_browser_main_mac.mm (right): http://codereview.chromium.org/7948006/diff/1/chrome/browser/chrome_browser_main_mac.mm#newcode131 chrome/browser/chrome_browser_main_mac.mm:131: void ChromeBrowserMainPartsMac::DidEndMainMessageLoop() { On 2011/09/19 21:52:49, willchan wrote: > ...
9 years, 3 months ago (2011-09-19 22:13:31 UTC) #4
jam
9 years, 3 months ago (2011-09-19 22:13:34 UTC) #5
willchan no longer on Chromium
http://codereview.chromium.org/7948006/diff/1/chrome/browser/chrome_browser_main_mac.mm File chrome/browser/chrome_browser_main_mac.mm (right): http://codereview.chromium.org/7948006/diff/1/chrome/browser/chrome_browser_main_mac.mm#newcode131 chrome/browser/chrome_browser_main_mac.mm:131: void ChromeBrowserMainPartsMac::DidEndMainMessageLoop() { On 2011/09/19 22:13:31, John Abd-El-Malek wrote: ...
9 years, 3 months ago (2011-09-19 22:25:42 UTC) #6
jam
9 years, 3 months ago (2011-09-19 22:40:48 UTC) #7
http://codereview.chromium.org/7948006/diff/1/content/browser/browser_main.cc
File content/browser/browser_main.cc (right):

http://codereview.chromium.org/7948006/diff/1/content/browser/browser_main.cc...
content/browser/browser_main.cc:170: #if defined(OS_WIN)
On 2011/09/19 22:25:43, willchan wrote:
> On 2011/09/19 22:13:31, John Abd-El-Malek wrote:
> > On 2011/09/19 21:52:49, willchan wrote:
> > > Looks to me like this should be in BrowserMainPartsWin. Same with the
> > > OleInitialize() call below.
> > 
> > BrowserMainPartsWin is in chrome, but we want this function for all
embedders
> of
> > content, hence why it's here
> 
> Make sense. I suspect we should probably be created the content equivalents of
> BrowserMainParts{Win|Mac|etc} eventually.

I avoided that because Chrome also has its own platform versions, which derive
from a common chrome class. so if content also had 3 versions, we'd have to make
the base chrome one derive from three different classes depending on the
platform, which seemed a little hard on the eyes

Powered by Google App Engine
This is Rietveld 408576698