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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebShareActivity.java

Issue 2666833002: Create entry to PWSharing through ShareHelper (Closed)
Patch Set: Cleaning up Chrome Activity more Created 3 years, 10 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.chrome.browser.physicalweb;
6
7 import android.os.Build;
8
9 import org.chromium.chrome.browser.share.ShareActivity;
10 import org.chromium.chrome.browser.tab.Tab;
11
12 /**
13 * A simple activity that allows Chrome to start the physical web sharing servic e.
14 */
15 public class PhysicalWebShareActivity extends ShareActivity {
16
17 private static final String TAG = "PhysicalWebShareActivity";
18
19 @Override
20 protected void handleShareAction() {
21 //TODO(iankc): implement sharing
cco3 2017/02/04 00:11:23 space
iankc 2017/02/06 23:53:29 Done.
22 }
23
24 @Override
25 public boolean featureIsEnabled(Tab currentTab) {
26 return PhysicalWeb.sharingIsEnabled()
27 && Build.VERSION.SDK_INT >= Build.VERSION_CODES.M;
28 }
29
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698