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

Side by Side Diff: sky/sdk/lib/mojo/activity.dart

Issue 1214073014: Back button should kill interactive flex app (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase and add missing file Created 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 import 'package:mojom/intents/intents.mojom.dart';
6 import 'package:sky/mojo/shell.dart' as shell;
7
8 void finishCurrentActivity() {
9 ActivityManagerProxy activityManager = new ActivityManagerProxy.unbound();
10 shell.requestService('mojo:sky_viewer', activityManager);
11 activityManager.ptr.finishCurrentActivity();
12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698