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

Issue 319553008: Updated Plugin bubble model to add "learn more" link and to appear with a sliding yellow thing (Closed)

Created:
6 years, 6 months ago by radhikabhar
Modified:
6 years, 6 months ago
CC:
chromium-reviews, tfarina, markusheintz_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Updated Plugin bubble model to add "learn more" link and to appear with a sliding yellow thing. BUG=307323 This change is linked to https://codereview.chromium.org/300873002/ Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278302

Patch Set 1 : Changelist for the default radio button #

Patch Set 2 : Updated NPAPI plugin including the default radio button settings #

Patch Set 3 : Fixed indentation and style issues #

Total comments: 1

Patch Set 4 : Fixed the crash when javascript is disabled and added Test Cases #

Patch Set 5 : Fixed typos #

Total comments: 14

Patch Set 6 : Addressed reviewer comments and fixed style issues #

Patch Set 7 : Remove an extra declared function #

Total comments: 14

Patch Set 8 : Fixed various comments #

Total comments: 2

Patch Set 9 : Changed the comment line #

Total comments: 8

Patch Set 10 : Fixed comments #

Total comments: 30

Patch Set 11 : Addressed various comments #

Patch Set 12 : Reverted to the old UI apart from the Learn More Link #

Patch Set 13 : Fixed compilation errors in try bots for chromium_chromeos_rel #

Patch Set 14 : Updated so that the yellow thing occurs only when the content setting is set to allow #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -2 lines) Patch
A 272657-chrome-win32.zip View 1 2 3 4 5 6 7 8 9 10 11 12 13 Binary file 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_content_setting_bubble_model_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 13 4 chunks +18 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (0 generated)
Chris Thompson
Overall looks good except for some style nits https://codereview.chromium.org/319553008/diff/100001/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/319553008/diff/100001/chrome/browser/content_settings/tab_specific_content_settings.h#newcode264 chrome/browser/content_settings/tab_specific_content_settings.h:264: plugin_bubble_setting_ ...
6 years, 6 months ago (2014-06-06 16:52:06 UTC) #1
radhikabhar
On 2014/06/06 16:52:06, Chris Thompson wrote: > Overall looks good except for some style nits ...
6 years, 6 months ago (2014-06-06 17:02:12 UTC) #2
felt
can you please update the description to explain everything that's going on in this CL? ...
6 years, 6 months ago (2014-06-06 17:05:41 UTC) #3
radhikabhar
On 2014/06/06 17:05:41, felt wrote: > can you please update the description to explain everything ...
6 years, 6 months ago (2014-06-06 17:12:48 UTC) #4
Chris Thompson
https://codereview.chromium.org/319553008/diff/120001/chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc File chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc (right): https://codereview.chromium.org/319553008/diff/120001/chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc#newcode463 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc:463: // EXPECT_TRUE(bubble_content.custom_link_enabled); I think compilation is failing because the ...
6 years, 6 months ago (2014-06-06 18:38:07 UTC) #5
felt
Are these tests passing now? Here are some comments. https://codereview.chromium.org/319553008/diff/300001/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/319553008/diff/300001/chrome/browser/content_settings/tab_specific_content_settings.h#newcode261 chrome/browser/content_settings/tab_specific_content_settings.h:261: ...
6 years, 6 months ago (2014-06-11 02:37:30 UTC) #6
radhikabhar
On 2014/06/11 02:37:30, felt wrote: > Are these tests passing now? > > Here are ...
6 years, 6 months ago (2014-06-11 17:00:29 UTC) #7
felt
On 2014/06/11 17:00:29, radhikabhar wrote: > On 2014/06/11 02:37:30, felt wrote: > > Are these ...
6 years, 6 months ago (2014-06-11 17:16:10 UTC) #8
radhikabhar
Updated it as comments https://codereview.chromium.org/319553008/diff/300001/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/319553008/diff/300001/chrome/browser/content_settings/tab_specific_content_settings.h#newcode261 chrome/browser/content_settings/tab_specific_content_settings.h:261: //Set whether the setting for ...
6 years, 6 months ago (2014-06-11 17:31:46 UTC) #9
felt
https://codereview.chromium.org/319553008/diff/340001/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc File chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc (right): https://codereview.chromium.org/319553008/diff/340001/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc#newcode54 chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc:54: if (type == CONTENT_SETTINGS_TYPE_PLUGINS) { cleaner to gate with ...
6 years, 6 months ago (2014-06-12 01:44:33 UTC) #10
radhikabhar
Updated various comments https://codereview.chromium.org/319553008/diff/340001/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc File chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc (right): https://codereview.chromium.org/319553008/diff/340001/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc#newcode54 chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc:54: if (type == CONTENT_SETTINGS_TYPE_PLUGINS) { On ...
6 years, 6 months ago (2014-06-12 16:21:46 UTC) #11
felt
OK, time for you to add other reviewers. It looks like bauerb is OOO for ...
6 years, 6 months ago (2014-06-12 17:18:48 UTC) #12
radhikabhar
Updated changes. Should I email sky@ - he seems to be the common owner for ...
6 years, 6 months ago (2014-06-12 17:44:21 UTC) #13
felt
On 2014/06/12 17:44:21, radhikabhar wrote: > Updated changes. Should I email sky@ - he seems ...
6 years, 6 months ago (2014-06-12 17:46:13 UTC) #14
radhikabhar
On 2014/06/12 17:46:13, felt wrote: > On 2014/06/12 17:44:21, radhikabhar wrote: > > Updated changes. ...
6 years, 6 months ago (2014-06-12 17:56:30 UTC) #15
sky
I just want to make sure, was this approved by UX?
6 years, 6 months ago (2014-06-12 19:43:08 UTC) #16
felt
On 2014/06/12 19:43:08, sky wrote: > I just want to make sure, was this approved ...
6 years, 6 months ago (2014-06-12 19:47:42 UTC) #17
felt
On 2014/06/12 19:47:42, felt wrote: > On 2014/06/12 19:43:08, sky wrote: > > I just ...
6 years, 6 months ago (2014-06-12 19:49:14 UTC) #18
sky
Can you get a local reviewer for the changes to chrome/browser/ui/content_settings ? https://codereview.chromium.org/319553008/diff/380001/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc File chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc ...
6 years, 6 months ago (2014-06-12 20:00:33 UTC) #19
felt
bauerb@ should do the review for chrome/browser/ui/content_settings. can you please review: chrome/browser/ui/views/content_setting_bubble_contents.h chrome/browser/ui/views/content_setting_bubble_contents.cc chrome/renderer/chrome_content_renderer_client.cc On ...
6 years, 6 months ago (2014-06-12 20:02:20 UTC) #20
radhikabhar
Updated changes https://codereview.chromium.org/319553008/diff/380001/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc File chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc (right): https://codereview.chromium.org/319553008/diff/380001/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc#newcode61 chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc:61: return; On 2014/06/12 20:00:33, sky wrote: > ...
6 years, 6 months ago (2014-06-12 20:37:19 UTC) #21
sky
https://codereview.chromium.org/319553008/diff/380001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/319553008/diff/380001/chrome/renderer/chrome_content_renderer_client.cc#newcode805 chrome/renderer/chrome_content_renderer_client.cc:805: observer->DidBlockContentType(content_type); On 2014/06/12 20:37:19, radhikabhar wrote: > On 2014/06/12 ...
6 years, 6 months ago (2014-06-12 22:56:31 UTC) #22
radhikabhar
Question regarding the comment https://codereview.chromium.org/319553008/diff/380001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/319553008/diff/380001/chrome/renderer/chrome_content_renderer_client.cc#newcode805 chrome/renderer/chrome_content_renderer_client.cc:805: observer->DidBlockContentType(content_type); On 2014/06/12 22:56:31, sky ...
6 years, 6 months ago (2014-06-12 23:41:33 UTC) #23
sky
Never mind, I'm stupid, I was reading the code wrong. LGTM for everything but the ...
6 years, 6 months ago (2014-06-12 23:47:15 UTC) #24
radhikabhar
bauerb@ Could you please review the code for the content_settings?
6 years, 6 months ago (2014-06-13 20:41:22 UTC) #25
Bernhard Bauer
https://codereview.chromium.org/319553008/diff/400001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/319553008/diff/400001/chrome/app/generated_resources.grd#newcode2403 chrome/app/generated_resources.grd:2403: Block plug-ins on this site Did this string get ...
6 years, 6 months ago (2014-06-16 09:43:16 UTC) #26
Bernhard Bauer
Also, is this CL really specific to NPAPI plugin blocking? It seems more like general, ...
6 years, 6 months ago (2014-06-16 10:15:37 UTC) #27
felt
https://codereview.chromium.org/319553008/diff/400001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/319553008/diff/400001/chrome/app/generated_resources.grd#newcode2403 chrome/app/generated_resources.grd:2403: Block plug-ins on this site On 2014/06/16 09:43:15, Bernhard ...
6 years, 6 months ago (2014-06-16 13:29:24 UTC) #28
radhikabhar
Should there be two different UI for NPAPI and PPAPI plugin or should they be ...
6 years, 6 months ago (2014-06-16 18:21:38 UTC) #29
radhikabhar
On 2014/06/16 18:21:38, radhikabhar wrote: > Should there be two different UI for NPAPI and ...
6 years, 6 months ago (2014-06-17 00:24:29 UTC) #30
Bernhard Bauer
This change LGTM, but it might be easier to just create a new CL if ...
6 years, 6 months ago (2014-06-17 13:01:47 UTC) #31
radhikabhar
The CQ bit was checked by radhikabhar@chromium.org
6 years, 6 months ago (2014-06-17 17:25:27 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/radhikabhar@chromium.org/319553008/480001
6 years, 6 months ago (2014-06-17 17:27:41 UTC) #33
felt
On 2014/06/17 17:27:41, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 6 months ago (2014-06-17 17:29:56 UTC) #34
radhikabhar
On 2014/06/17 17:29:56, felt wrote: > On 2014/06/17 17:27:41, I haz the power (commit-bot) wrote: ...
6 years, 6 months ago (2014-06-17 17:34:38 UTC) #35
Bernhard Bauer
On 2014/06/17 17:34:38, radhikabhar wrote: > On 2014/06/17 17:29:56, felt wrote: > > On 2014/06/17 ...
6 years, 6 months ago (2014-06-17 18:45:48 UTC) #36
radhikabhar
On 2014/06/17 18:45:48, Bernhard Bauer wrote: > On 2014/06/17 17:34:38, radhikabhar wrote: > > On ...
6 years, 6 months ago (2014-06-17 19:10:01 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 22:42:03 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/38599)
6 years, 6 months ago (2014-06-17 22:42:04 UTC) #39
Bernhard Bauer
On 2014/06/17 18:45:48, Bernhard Bauer wrote: > (in particular, the title should match > the ...
6 years, 6 months ago (2014-06-18 08:38:10 UTC) #40
radhikabhar
On 2014/06/18 08:38:10, Bernhard Bauer wrote: > On 2014/06/17 18:45:48, Bernhard Bauer wrote: > > ...
6 years, 6 months ago (2014-06-18 15:45:11 UTC) #41
Bernhard Bauer
LGTM. I approve of the term "sliding yellow thing" :)
6 years, 6 months ago (2014-06-18 16:50:00 UTC) #42
radhikabhar
The CQ bit was checked by radhikabhar@chromium.org
6 years, 6 months ago (2014-06-18 19:50:04 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/radhikabhar@chromium.org/319553008/500001
6 years, 6 months ago (2014-06-18 19:51:52 UTC) #44
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 07:53:18 UTC) #45
Message was sent while issue was closed.
Change committed as 278302

Powered by Google App Engine
This is Rietveld 408576698