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

Issue 10855183: Give access to browsers by Profile/HostDesktopType. (Closed)

Created:
8 years, 4 months ago by MAD
Modified:
8 years, 4 months ago
CC:
chromium-reviews, tfarina, yoshiki+watch_chromium.org
Visibility:
Public.

Description

Give access to browsers by Profile/HostDesktopType. And fix existing callers of FindBrowserForProfile. BUG=None TEST=Make sure that the page cyclers still work (they're one of the users of the API), as well as the download page gets opened properly on the Mac when the user chooses to wait (the other user of the API). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152788 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153207

Patch Set 1 #

Patch Set 2 : Isolated brwoser_finder changes, task manager changes moved to another CL. #

Total comments: 4

Patch Set 3 : Removed a dupe declaration... #

Total comments: 2

Patch Set 4 : Start with only one method and don't rename it. #

Patch Set 5 : Remove presubmit condition that is not needed anymore. #

Patch Set 6 : Fixed a clang compile issue and re-organized code around it. #

Patch Set 7 : Sync'd to Tip Of Tree. #

Total comments: 1

Patch Set 8 : Added a TODO comment. #

Patch Set 9 : Now Ash and Native desktop types are the same on ChromeOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -30 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 6 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/app_controller_mac.mm View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_finder.h View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_finder.cc View 1 2 3 4 5 6 7 5 chunks +42 lines, -15 lines 0 comments Download
M chrome/browser/ui/host_desktop.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
robertshield
looking good https://chromiumcodereview.appspot.com/10855183/diff/1009/chrome/browser/ui/browser_finder.cc File chrome/browser/ui/browser_finder.cc (right): https://chromiumcodereview.appspot.com/10855183/diff/1009/chrome/browser/ui/browser_finder.cc#newcode148 chrome/browser/ui/browser_finder.cc:148: browser = new Browser(Browser::CreateParams(Browser::TYPE_TABBED, profile)); why do ...
8 years, 4 months ago (2012-08-16 21:05:16 UTC) #1
MAD
Thanks! BYE MAD http://codereview.chromium.org/10855183/diff/1009/chrome/browser/ui/browser_finder.cc File chrome/browser/ui/browser_finder.cc (right): http://codereview.chromium.org/10855183/diff/1009/chrome/browser/ui/browser_finder.cc#newcode148 chrome/browser/ui/browser_finder.cc:148: browser = new Browser(Browser::CreateParams(Browser::TYPE_TABBED, profile)); On ...
8 years, 4 months ago (2012-08-17 12:45:50 UTC) #2
robertshield
lgtm
8 years, 4 months ago (2012-08-17 13:25:02 UTC) #3
MAD
Salut Ben, is this the direction you wanted to take with the browser finder? Thanks! ...
8 years, 4 months ago (2012-08-17 13:38:48 UTC) #4
MAD
Ping? I have a few CLs depending on this one. Some Windows 8 patches that ...
8 years, 4 months ago (2012-08-20 14:58:44 UTC) #5
Ben Goodger (Google)
Was OOO friday. http://codereview.chromium.org/10855183/diff/5001/chrome/browser/ui/browser_finder.h File chrome/browser/ui/browser_finder.h (right): http://codereview.chromium.org/10855183/diff/5001/chrome/browser/ui/browser_finder.h#newcode30 chrome/browser/ui/browser_finder.h:30: Browser* FindDesktopTabbedBrowser(Profile* profile, question I have ...
8 years, 4 months ago (2012-08-20 20:09:40 UTC) #6
MAD
OK thanks! I'll try to minimize the change, and keep the old names... As for ...
8 years, 4 months ago (2012-08-20 20:28:15 UTC) #7
MAD
Would this be OK then? Thanks! BYE MAD...
8 years, 4 months ago (2012-08-21 14:34:26 UTC) #8
Ben Goodger (Google)
lgtm https://chromiumcodereview.appspot.com/10855183/diff/10006/chrome/browser/ui/browser_finder.cc File chrome/browser/ui/browser_finder.cc (right): https://chromiumcodereview.appspot.com/10855183/diff/10006/chrome/browser/ui/browser_finder.cc#newcode23 chrome/browser/ui/browser_finder.cc:23: chrome::HostDesktopType kDefaultHostDesktopType = chrome::HOST_DESKTOP_TYPE_ASH; my theory is that ...
8 years, 4 months ago (2012-08-21 21:47:20 UTC) #9
MAD
OK, thanks, I'll add a "TODO(mad) eventually move to host_desktop_type.h." comment... On Tue, Aug 21, ...
8 years, 4 months ago (2012-08-21 21:50:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mad@chromium.org/10855183/8003
8 years, 4 months ago (2012-08-21 21:55:01 UTC) #11
commit-bot: I haz the power
Try job failure for 10855183-8003 (retry) on linux_chromeos for steps "browser_tests, unit_tests". It's a second ...
8 years, 4 months ago (2012-08-22 01:23:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mad@chromium.org/10855183/8003
8 years, 4 months ago (2012-08-22 01:32:25 UTC) #13
commit-bot: I haz the power
Try job failure for 10855183-8003 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-22 03:33:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mad@chromium.org/10855183/8003
8 years, 4 months ago (2012-08-22 11:35:26 UTC) #15
commit-bot: I haz the power
Try job failure for 10855183-8003 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-22 12:54:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mad@chromium.org/10855183/8003
8 years, 4 months ago (2012-08-22 13:44:13 UTC) #17
commit-bot: I haz the power
Try job failure for 10855183-8003 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-22 15:10:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mad@chromium.org/10855183/8003
8 years, 4 months ago (2012-08-22 15:29:17 UTC) #19
commit-bot: I haz the power
Try job failure for 10855183-8003 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-22 16:57:04 UTC) #20
MAD
Hey Ben! Let me know if this is what you meant. Now on OS_CHROMEOS, the ...
8 years, 4 months ago (2012-08-23 12:46:52 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mad@chromium.org/10855183/17005
8 years, 4 months ago (2012-08-24 12:23:47 UTC) #22
commit-bot: I haz the power
8 years, 4 months ago (2012-08-24 14:45:12 UTC) #23
Change committed as 153207

Powered by Google App Engine
This is Rietveld 408576698