Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 5365916275572736: Issue 2351 - Add a custom menu item for whitelisting the current site (Closed)

Created:
April 25, 2015, 9:45 p.m. by Felix Dahlke
Modified:
May 21, 2015, 11:51 a.m.
Reviewers:
René Jeschke
Visibility:
Public.

Description

Issue 2351 - Add a custom menu item for whitelisting the current site

Patch Set 1 #

Patch Set 2 : Add missing break #

Patch Set 3 : Minimally invasive approach #

Total comments: 13

Patch Set 4 : Address comments, rename location, change item label #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -13 lines) Patch
M adblockplus/Api.jsm View 1 2 3 3 chunks +70 lines, -1 line 0 comments Download
M mobile/android/base/BrowserApp.java View 1 2 4 chunks +17 lines, -0 lines 0 comments Download
M mobile/android/base/locales/en-US/android_strings.dtd View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M mobile/android/base/moz.build View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mobile/android/base/resources/menu-large-v11/browser_app_menu.xml View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M mobile/android/base/resources/menu-v11/browser_app_menu.xml View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M mobile/android/base/resources/menu/browser_app_menu.xml View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M mobile/android/base/strings.xml.in View 1 chunk +1 line, -0 lines 0 comments Download
M mobile/android/thirdparty/org/adblockplus/browser/AddOnBridge.java View 1 2 3 2 chunks +47 lines, -12 lines 0 comments Download
A mobile/android/thirdparty/org/adblockplus/browser/BrowserAppUtils.java View 1 2 3 1 chunk +120 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Felix Dahlke
While this works, I'm not sure if it's the best approach yet - we have ...
April 25, 2015, 9:49 p.m. (2015-04-25 21:49:43 UTC) #1
Felix Dahlke
Investigated the alternative a bit, namely: Move all the logic to BrowserApp.java and communicate with ...
April 27, 2015, 9:49 a.m. (2015-04-27 09:49:39 UTC) #2
Felix Dahlke
OK, here's that minimally invasive approach we discussed: I'm not touching browser.js anymore, all of ...
May 5, 2015, 11:44 p.m. (2015-05-05 23:44:40 UTC) #3
René Jeschke
http://codereview.adblockplus.org/5365916275572736/diff/5750085036015616/adblockplus/Api.jsm File adblockplus/Api.jsm (right): http://codereview.adblockplus.org/5365916275572736/diff/5750085036015616/adblockplus/Api.jsm#newcode206 adblockplus/Api.jsm:206: this.whitelistSite(data["url"], data["whitelisted"] == "true"); Wouldn't it be better to ...
May 6, 2015, 10:56 a.m. (2015-05-06 10:56:32 UTC) #4
Felix Dahlke
New patch set is up. Also changed a few things that were bother me, now ...
May 6, 2015, 4:42 p.m. (2015-05-06 16:42:49 UTC) #5
René Jeschke
May 6, 2015, 4:53 p.m. (2015-05-06 16:53:09 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld