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

Issue 11232060: Make sure sideload wipeout doesn't interfere with the tests. (Closed)

Created:
8 years, 2 months ago by Finnur
Modified:
8 years, 2 months ago
Reviewers:
Aaron Boodman, sky
CC:
chromium-reviews, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Make sure sideload wipeout doesn't interfere with the tests. Make sure it does not run on other platforms besides Windows, where it was intended (for now). Fix the problem with bubble appearing to the right of the browser. Make sure the bubble does not appear on next run after explicitly dismissing it. Enable sideload wipeout by default. BUG=154624 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=163705

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -38 lines) Patch
M chrome/browser/extensions/extension_browsertest.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 6 chunks +12 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/extensions/disabled_extensions_view.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/disabled_extensions_view.cc View 1 2 3 4 5 6 7 8 7 chunks +30 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/toolbar_view.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/toolbar_view.cc View 1 2 3 4 5 6 7 8 6 chunks +10 lines, -11 lines 0 comments Download
M chrome/common/extensions/feature_switch.cc View 1 2 3 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Finnur
Scott, can you take the three chrome/browser/ui/views files and Aaron, the rest?
8 years, 2 months ago (2012-10-23 14:28:37 UTC) #1
Aaron Boodman
http://codereview.chromium.org/11232060/diff/1010/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/11232060/diff/1010/chrome/browser/extensions/extension_service.cc#newcode579 chrome/browser/extensions/extension_service.cc:579: #if defined(OS_WIN) See other comment about OS_WIN ifdef. http://codereview.chromium.org/11232060/diff/1010/chrome/browser/extensions/extension_service.cc#newcode2189 ...
8 years, 2 months ago (2012-10-23 15:20:20 UTC) #2
Aaron Boodman
lgtm w/ changes
8 years, 2 months ago (2012-10-23 15:20:29 UTC) #3
Aaron Boodman
(actually there's enough changes here that I should probably see the new patch before you ...
8 years, 2 months ago (2012-10-23 15:23:36 UTC) #4
Finnur
http://codereview.chromium.org/11232060/diff/1010/chrome/browser/ui/views/extensions/disabled_extensions_view.cc File chrome/browser/ui/views/extensions/disabled_extensions_view.cc (right): http://codereview.chromium.org/11232060/diff/1010/chrome/browser/ui/views/extensions/disabled_extensions_view.cc#newcode140 chrome/browser/ui/views/extensions/disabled_extensions_view.cc:140: IntegerPrefMember sideload_wipeout_bubble_shown; That makes sense for the buttons, but ...
8 years, 2 months ago (2012-10-23 15:43:10 UTC) #5
Finnur
Updated.
8 years, 2 months ago (2012-10-23 16:02:14 UTC) #6
Peter Ludwig
http://codereview.chromium.org/11232060/diff/1010/chrome/browser/ui/views/extensions/disabled_extensions_view.cc File chrome/browser/ui/views/extensions/disabled_extensions_view.cc (right): http://codereview.chromium.org/11232060/diff/1010/chrome/browser/ui/views/extensions/disabled_extensions_view.cc#newcode140 chrome/browser/ui/views/extensions/disabled_extensions_view.cc:140: IntegerPrefMember sideload_wipeout_bubble_shown; It's fine for the bubble to dismiss ...
8 years, 2 months ago (2012-10-23 16:11:01 UTC) #7
Aaron Boodman
http://codereview.chromium.org/11232060/diff/2006/chrome/browser/ui/views/extensions/disabled_extensions_view.cc File chrome/browser/ui/views/extensions/disabled_extensions_view.cc (right): http://codereview.chromium.org/11232060/diff/2006/chrome/browser/ui/views/extensions/disabled_extensions_view.cc#newcode73 chrome/browser/ui/views/extensions/disabled_extensions_view.cc:73: sideload_wipeout_bubble_shown.Init( Since this is used in multiple methods and ...
8 years, 2 months ago (2012-10-23 16:18:06 UTC) #8
Finnur
Updated. http://codereview.chromium.org/11232060/diff/1010/chrome/browser/ui/views/extensions/disabled_extensions_view.cc File chrome/browser/ui/views/extensions/disabled_extensions_view.cc (right): http://codereview.chromium.org/11232060/diff/1010/chrome/browser/ui/views/extensions/disabled_extensions_view.cc#newcode140 chrome/browser/ui/views/extensions/disabled_extensions_view.cc:140: IntegerPrefMember sideload_wipeout_bubble_shown; Sounds good. > The butterbar should ...
8 years, 2 months ago (2012-10-23 16:55:44 UTC) #9
sky
http://codereview.chromium.org/11232060/diff/10013/chrome/browser/ui/views/toolbar_view.cc File chrome/browser/ui/views/toolbar_view.cc (right): http://codereview.chromium.org/11232060/diff/10013/chrome/browser/ui/views/toolbar_view.cc#newcode325 chrome/browser/ui/views/toolbar_view.cc:325: MessageLoop::current()->PostTask( Why do you need to delay this? I ...
8 years, 2 months ago (2012-10-23 16:57:09 UTC) #10
Finnur
I had problems getting the bubble to anchor correctly, I think it is a race ...
8 years, 2 months ago (2012-10-23 17:04:59 UTC) #11
sky
Does WidgetObserver::OnWidgetVisibilityChanged do what you need? -Scott On Tue, Oct 23, 2012 at 10:04 AM, ...
8 years, 2 months ago (2012-10-23 17:15:24 UTC) #12
Finnur
I'll give it a shot. On 2012/10/23 17:15:24, sky wrote: > Does WidgetObserver::OnWidgetVisibilityChanged do what ...
8 years, 2 months ago (2012-10-23 17:16:56 UTC) #13
Finnur
That seems like what I was looking for. Updated. PTAL.
8 years, 2 months ago (2012-10-23 17:48:32 UTC) #14
Aaron Boodman
lgtm
8 years, 2 months ago (2012-10-23 18:13:41 UTC) #15
sky
http://codereview.chromium.org/11232060/diff/4009/chrome/browser/ui/views/toolbar_view.cc File chrome/browser/ui/views/toolbar_view.cc (right): http://codereview.chromium.org/11232060/diff/4009/chrome/browser/ui/views/toolbar_view.cc#newcode227 chrome/browser/ui/views/toolbar_view.cc:227: GetWidget()->AddObserver(this); I get nervous when there is an add ...
8 years, 2 months ago (2012-10-23 19:46:13 UTC) #16
sky
http://codereview.chromium.org/11232060/diff/4009/chrome/browser/ui/views/toolbar_view.cc File chrome/browser/ui/views/toolbar_view.cc (right): http://codereview.chromium.org/11232060/diff/4009/chrome/browser/ui/views/toolbar_view.cc#newcode227 chrome/browser/ui/views/toolbar_view.cc:227: GetWidget()->AddObserver(this); On 2012/10/23 19:46:14, sky wrote: > I get ...
8 years, 2 months ago (2012-10-23 19:46:59 UTC) #17
Finnur
> I get nervous when there is an add with no corresponding remove. And you ...
8 years, 2 months ago (2012-10-23 21:37:30 UTC) #18
sky
LGTM
8 years, 2 months ago (2012-10-23 22:10:29 UTC) #19
Aaron Boodman
8 years, 2 months ago (2012-10-23 22:21:14 UTC) #20
lgtm

Powered by Google App Engine
This is Rietveld 408576698