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

Side by Side Diff: chrome/common/extensions/api/page_launcher.idl

Issue 12095023: Allow platform apps to add themselves to the Action Box. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 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 (c) 2013 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 namespace pageLauncher {
6 dictionary PageData {
7 // The url of the page.
8 DOMString url;
9 // The mimetype of the page.
10 DOMString mimetype;
11 // The title of the page, if it has one.
12 DOMString? page_title;
13 // The text that was selected on the page when the event fired.
14 DOMString? selected_text;
15 };
16
17 interface Events {
18 // Fired when the user clicks the page launcher entry in the action box.
19 // |pageData| : The details of the page the user was on when the button
20 // was clicked.
21 static void onClicked(PageData pageData);
22 };
23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698