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

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

Issue 2975883003: Revert of Fixes redirects to external apps when navigating from PWA. (Closed)
Patch Set: 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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 return null; 650 return null;
651 } 651 }
652 652
653 @Override 653 @Override
654 protected TabDelegateFactory createTabDelegateFactory() { 654 protected TabDelegateFactory createTabDelegateFactory() {
655 return new WebappDelegateFactory(this); 655 return new WebappDelegateFactory(this);
656 } 656 }
657 657
658 @Override 658 @Override
659 protected TabDelegate createTabDelegate(boolean incognito) { 659 protected TabDelegate createTabDelegate(boolean incognito) {
660 return new WebappTabDelegate(incognito); 660 return new WebappTabDelegate(this, incognito);
661 } 661 }
662 662
663 // We're temporarily disable CS on webapp since there are some issues. (http ://crbug.com/471950) 663 // We're temporarily disable CS on webapp since there are some issues. (http ://crbug.com/471950)
664 // TODO(changwan): re-enable it once the issues are resolved. 664 // TODO(changwan): re-enable it once the issues are resolved.
665 @Override 665 @Override
666 protected boolean isContextualSearchAllowed() { 666 protected boolean isContextualSearchAllowed() {
667 return false; 667 return false;
668 } 668 }
669 } 669 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698