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

Side by Side Diff: ppapi/api/dev/ppb_testing_dev.idl

Issue 8840007: GetDocumentURL is added to PPB_Testing_Dev. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed codereview issues. Created 9 years 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
« no previous file with comments | « no previous file | ppapi/api/dev/ppb_url_util_dev.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 5
6 /** 6 /**
7 * This file contains interface functions used for unit testing. Do not use in 7 * This file contains interface functions used for unit testing. Do not use in
8 * production code. They are not guaranteed to be available in normal plugin 8 * production code. They are not guaranteed to be available in normal plugin
9 * environments so you should not depend on them. 9 * environments so you should not depend on them.
10 */ 10 */
11 11
12 label Chrome { 12 label Chrome {
13 M14 = 0.7, 13 M14 = 0.7,
14 M15 = 0.8 14 M15 = 0.8,
15 M17 = 0.9
15 }; 16 };
16 17
17 interface PPB_Testing_Dev { 18 interface PPB_Testing_Dev {
18 /** 19 /**
19 * Reads the bitmap data out of the backing store for the given 20 * Reads the bitmap data out of the backing store for the given
20 * DeviceContext2D and into the given image. If the data was successfully 21 * DeviceContext2D and into the given image. If the data was successfully
21 * read, it will return PP_TRUE. 22 * read, it will return PP_TRUE.
22 * 23 *
23 * This function should not generally be necessary for normal plugin 24 * This function should not generally be necessary for normal plugin
24 * operation. If you want to update portions of a device, the expectation is 25 * operation. If you want to update portions of a device, the expectation is
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 * maintain certain invariants, such as always having a "mouse enter" event 96 * maintain certain invariants, such as always having a "mouse enter" event
96 * before any other mouse event. Furthermore, the event the plugin receives 97 * before any other mouse event. Furthermore, the event the plugin receives
97 * after sending a simulated event will be slightly different from the 98 * after sending a simulated event will be slightly different from the
98 * original event. The browser may change the timestamp, add modifiers, and 99 * original event. The browser may change the timestamp, add modifiers, and
99 * slightly alter the mouse position, due to coordinate transforms it 100 * slightly alter the mouse position, due to coordinate transforms it
100 * performs. 101 * performs.
101 */ 102 */
102 [version=0.8] 103 [version=0.8]
103 void SimulateInputEvent([in] PP_Instance instance, 104 void SimulateInputEvent([in] PP_Instance instance,
104 [in] PP_Resource input_event); 105 [in] PP_Resource input_event);
106
107 /**
108 * Returns the URL for the document. This is a safe way to retrieve
109 * window.location.href.
110 * If the canonicalized URL is valid, the method will parse the URL
111 * and fill in the components structure. This pointer may be NULL
112 * to specify that no component information is necessary.
113 */
114 [version=0.9]
115 PP_Var GetDocumentURL([in] PP_Instance instance,
116 [out] PP_URLComponents_Dev components);
105 }; 117 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/api/dev/ppb_url_util_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698