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

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

Issue 1825913002: [Extensions] Convert APIs to use movable types [7] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Steven's Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // The <code>chrome.launcherPage</code> API provides launcher pages in the 5 // The <code>chrome.launcherPage</code> API provides launcher pages in the
6 // Chrome Launcher with the capabilities and events they need. 6 // Chrome Launcher with the capabilities and events they need.
7 namespace launcherPage { 7 [use_movable_types=true] namespace launcherPage {
8 callback PushSubpageCallback = void(); 8 callback PushSubpageCallback = void();
9 callback ShowCallback = void(); 9 callback ShowCallback = void();
10 callback HideCallback = void(); 10 callback HideCallback = void();
11 callback SetEnabledCallback = void(); 11 callback SetEnabledCallback = void();
12 12
13 interface Functions { 13 interface Functions {
14 // Pushes a subpage state onto a state stack for the launcher page. This 14 // Pushes a subpage state onto a state stack for the launcher page. This
15 // state will be popped when the launcher's back button is pressed, 15 // state will be popped when the launcher's back button is pressed,
16 // preventing the launcher from hiding the launcher page and sending an 16 // preventing the launcher from hiding the launcher page and sending an
17 // onPopSubpage event to the launcher page. Once all states are popped, the 17 // onPopSubpage event to the launcher page. Once all states are popped, the
(...skipping 26 matching lines...) Expand all
44 // It's possible for this to be called with a pushed subpage so this 44 // It's possible for this to be called with a pushed subpage so this
45 // event handler should account for transitioning from any subpage to a 45 // event handler should account for transitioning from any subpage to a
46 // collapsed view. 46 // collapsed view.
47 static void onTransitionChanged(double progress); 47 static void onTransitionChanged(double progress);
48 48
49 // Fired when the launcher's back button is pressed if there are remaining 49 // Fired when the launcher's back button is pressed if there are remaining
50 // subpages on the state stack pushed by pushSubpage(). 50 // subpages on the state stack pushed by pushSubpage().
51 static void onPopSubpage(); 51 static void onPopSubpage();
52 }; 52 };
53 }; 53 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/language_settings_private.idl ('k') | chrome/common/extensions/api/launcher_search_provider.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698