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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java

Issue 2969143002: Fixes redirects to external apps when navigating from PWA. (Closed)
Patch Set: Fix Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser.webapps; 5 package org.chromium.chrome.browser.webapps;
6 6
7 import android.content.Intent; 7 import android.content.Intent;
8 import android.graphics.Bitmap; 8 import android.graphics.Bitmap;
9 import android.graphics.Color; 9 import android.graphics.Color;
10 import android.graphics.drawable.Drawable; 10 import android.graphics.drawable.Drawable;
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 return null; 648 return null;
649 } 649 }
650 650
651 @Override 651 @Override
652 protected TabDelegateFactory createTabDelegateFactory() { 652 protected TabDelegateFactory createTabDelegateFactory() {
653 return new WebappDelegateFactory(this); 653 return new WebappDelegateFactory(this);
654 } 654 }
655 655
656 @Override 656 @Override
657 protected TabDelegate createTabDelegate(boolean incognito) { 657 protected TabDelegate createTabDelegate(boolean incognito) {
658 return new WebappTabDelegate(this, incognito); 658 return new WebappTabDelegate(incognito);
659 } 659 }
660 660
661 // We're temporarily disable CS on webapp since there are some issues. (http ://crbug.com/471950) 661 // We're temporarily disable CS on webapp since there are some issues. (http ://crbug.com/471950)
662 // TODO(changwan): re-enable it once the issues are resolved. 662 // TODO(changwan): re-enable it once the issues are resolved.
663 @Override 663 @Override
664 protected boolean isContextualSearchAllowed() { 664 protected boolean isContextualSearchAllowed() {
665 return false; 665 return false;
666 } 666 }
667 } 667 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698