OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |