New issue
Advanced search Search tips

Issue 603356 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature



Sign in to add a comment

Move SwipeRefreshHandler from chrome to content

Project Member Reported by xing...@intel.com, Apr 14 2016

Issue description

Steps to reproduce the problem:
1. chrome\android\java\src\org\chromium\chrome\browser\SwipeRefreshHandler.java
2. 
3. 

What is the expected behavior?
put this chrome\android\java\src\org\chromium\chrome\browser\SwipeRefreshHandler.java into content\ 

What went wrong?
If we hope to implement Pull to Refresh in other projects, such as WebView or ContentShell, we have make a copy of SwipeRefreshHandler, because it is under chrome\. If it is under content, it will be more easily referred in other projects.

BTW, SwipeRefreshHandler has little to do with chrome, except one string R.string.accessibility_swipe_refresh. 

One more consideration, is it possible put it into  components? It seems the current components\ doesn't include or refer any R.string.. So content should be better.

Did this work before? No 

Chrome version: 49.0.2623.112  Channel: stable
OS Version: 6.3
Flash Version: Shockwave Flash 21.0 r0
 
Labels: -Type-Bug Type-Feature
Cc: klo...@chromium.org

Comment 3 by klo...@chromium.org, Apr 18 2016

Cc: tedc...@chromium.org
Do not think it belongs to content/. component for the mechanism seems OK. 
I don't think it will be used in either webview or content shell, so I don't see a direct need to move it to components either.  It is very much chrome UI and not a general browser function, so I'm not convinced it should move at all.

Comment 5 by xing...@intel.com, Mar 9 2017

Status: WontFix (was: Unconfirmed)

Sign in to add a comment