[email protected] | 25651387 | 2012-01-05 15:41:52 | [diff] [blame] | 1 | /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 2272ed3 | 2011-03-30 17:37:54 | [diff] [blame] | 2 | * Use of this source code is governed by a BSD-style license that can be |
3 | * found in the LICENSE file. | ||||
4 | */ | ||||
5 | |||||
[email protected] | 745b0d4 | 2011-07-16 23:53:22 | [diff] [blame] | 6 | /** |
7 | * This file defines the PP_Instance type which uniquely identifies one module | ||||
[email protected] | 2272ed3 | 2011-03-30 17:37:54 | [diff] [blame] | 8 | * instance. |
9 | */ | ||||
10 | |||||
[email protected] | 745b0d4 | 2011-07-16 23:53:22 | [diff] [blame] | 11 | /** |
12 | * The <code>PP_Instance</code> value uniquely identifies one instance of a | ||||
13 | * module (.nexe/PP_Module). There will be one module instance for every | ||||
[email protected] | 2272ed3 | 2011-03-30 17:37:54 | [diff] [blame] | 14 | * \<embed> tag on a page. |
15 | * | ||||
16 | * This identifier is an opaque handle assigned by the browser to the module. | ||||
17 | * It is guaranteed never to be 0, so a module can initialize it to 0 to | ||||
[email protected] | 745b0d4 | 2011-07-16 23:53:22 | [diff] [blame] | 18 | * indicate a "NULL handle." |
[email protected] | 2272ed3 | 2011-03-30 17:37:54 | [diff] [blame] | 19 | */ |
[email protected] | 745b0d4 | 2011-07-16 23:53:22 | [diff] [blame] | 20 | [assert_size(4)] typedef int32_t PP_Instance; |
21 |