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

Issue 7178002: Open Options page on top of NTP. (Closed)

Created:
9 years, 6 months ago by Greg Billock
Modified:
9 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Add logic to ShowOptionsTab and consolidate params init. #

Patch Set 3 : Add support for about:blank and tests. #

Total comments: 15

Patch Set 4 : Refactor settings API methods together. Switch test order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -50 lines) Patch
M chrome/browser/ui/browser.cc View 1 2 3 3 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/ui/browser_navigator.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 2 3 2 chunks +44 lines, -44 lines 0 comments Download
M chrome/browser/ui/browser_navigator_browsertest.cc View 1 2 3 1 chunk +102 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Greg Billock
9 years, 6 months ago (2011-06-15 23:40:16 UTC) #1
Greg Billock
On 2011/06/15 23:40:16, gbillock1 wrote: I'm seeing a LEAK: 4 WebCoreNode LEAK: 21 CachedResource message ...
9 years, 6 months ago (2011-06-16 00:01:05 UTC) #2
James Hawkins
On 2011/06/16 00:01:05, gbillock1 wrote: > On 2011/06/15 23:40:16, gbillock1 wrote: > > I'm seeing ...
9 years, 6 months ago (2011-06-16 04:04:05 UTC) #3
James Hawkins
This needs tests.
9 years, 6 months ago (2011-06-16 04:06:36 UTC) #4
Greg Billock
On 2011/06/16 04:06:36, James Hawkins wrote: > This needs tests. Yes. Now added, except the ...
9 years, 6 months ago (2011-06-16 23:52:48 UTC) #5
James Hawkins
I unfortunately don't have any ideas about the tests. Pawel might. http://codereview.chromium.org/7178002/diff/8001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): ...
9 years, 6 months ago (2011-06-17 17:44:57 UTC) #6
Greg Billock
http://codereview.chromium.org/7178002/diff/8001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/7178002/diff/8001/chrome/browser/ui/browser.cc#newcode1993 chrome/browser/ui/browser.cc:1993: GURL ntp(chrome::kChromeUINewTabURL); On 2011/06/17 17:44:57, James Hawkins wrote: > ...
9 years, 6 months ago (2011-06-17 21:16:07 UTC) #7
James Hawkins
LGTM, thanks!
9 years, 6 months ago (2011-06-17 21:20:32 UTC) #8
commit-bot: I haz the power
Change committed as 89566
9 years, 6 months ago (2011-06-17 22:46:39 UTC) #9
Paweł Hajdan Jr.
9 years, 6 months ago (2011-06-18 10:38:51 UTC) #10
http://codereview.chromium.org/7178002/diff/8001/chrome/browser/ui/browser_na...
File chrome/browser/ui/browser_navigator_browsertest.cc (right):

http://codereview.chromium.org/7178002/diff/8001/chrome/browser/ui/browser_na...
chrome/browser/ui/browser_navigator_browsertest.cc:894:
EXPECT_EQ(GURL("chrome://settings/browser"),
nit: Please use chrome/common/url_constants for all of those chrome:// URLs.

http://codereview.chromium.org/7178002/diff/8001/chrome/browser/ui/browser_na...
chrome/browser/ui/browser_navigator_browsertest.cc:902: browser::Navigate(&p);
Why not just NavigateToURL?

http://codereview.chromium.org/7178002/diff/8001/chrome/browser/ui/browser_na...
chrome/browser/ui/browser_navigator_browsertest.cc:933:
ui_test_utils::WaitForNavigationInCurrentTab(browser());
Those WaitForNavigation... calls are all racy. I think this should all use a
WindowedNotificationObserver, to register for notifications _before_ triggering
the navigation. I think that to fix it you'd need to change
NavigationNotificationObserver in ui_test_utils a bit. Please let me know if
you'd need more details.

http://codereview.chromium.org/7178002/diff/8001/chrome/browser/ui/browser_na...
chrome/browser/ui/browser_navigator_browsertest.cc:948:
ui_test_utils::WaitForNavigationInCurrentTab(browser());
Please check return value of this.

Powered by Google App Engine
This is Rietveld 408576698