File: class.GeolocationPermissionRequest.html

package info (click to toggle)
wpewebkit 2.50.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 438,332 kB
  • sloc: cpp: 3,777,828; javascript: 197,888; ansic: 156,951; python: 49,119; asm: 21,987; ruby: 18,540; perl: 16,722; xml: 4,623; yacc: 2,360; sh: 2,096; java: 2,019; lex: 1,327; pascal: 366; makefile: 90
file content (431 lines) | stat: -rw-r--r-- 12,526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
<!--
SPDX-FileCopyrightText: The WebKit GTK and WPE teams

SPDX-License-Identifier: BSD, LGPL-2.1
-->

<!DOCTYPE html>
<html lang="en">
<head>
  <title>WPEWebKit.GeolocationPermissionRequest</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <meta charset="utf-8" />

  
  <meta property="og:type" content="website"/>

  

  
  <meta property="og:title" content="WPEWebKit.GeolocationPermissionRequest"/>
  <meta property="og:description" content="Reference for WPEWebKit.GeolocationPermissionRequest"/>
  <meta name="twitter:title" content="WPEWebKit.GeolocationPermissionRequest"/>
  <meta name="twitter:description" content="Reference for WPEWebKit.GeolocationPermissionRequest"/>


  
  <meta name="twitter:card" content="summary"/>

  
  
  
  

  <link rel="stylesheet" href="style.css" type="text/css" />

  

  
  <script src="wpe2-urlmap.js"></script>
  
  
  <script src="fzy.js"></script>
  <script src="search.js"></script>
  
  <script src="main.js"></script>
</head>

<body>
  <div id="body-wrapper" tabindex="-1">

    <nav class="sidebar devhelp-hidden">
      
      
      <div class="search section">
        <form id="search-form" autocomplete="off">
          <input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
        </form>
      </div>
      
      <div class="section namespace">
        <h3><a href="index.html">WPEWebKit</a></h3>
        <p>API Version: 2.0</p>
        
        <p>Library Version: 2.50.5</p>
        
      </div>
      
<div class="section">
  <h5>Type</h5>
  <div class="links">
    <a class="current" href="class.GeolocationPermissionRequest.html#description">GeolocationPermissionRequest</a>
  </div>
</div>
















      <div class="section generator">
        <p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2023.1</p>
      </div>
    </nav>

    <button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>

    
<section id="main" class="content">
  <header>
    <h3>Class</h3>
    <h1 aria-label="Name"><a href="index.html">WPEWebKit</a><span class="sep" role="presentation"></span>GeolocationPermissionRequest</h1>
  </header>

  <section>
    <summary>
      <div class="docblock">
        <p></p>
      </div>

      <div class="toggle-wrapper">
        <h4 id="description" style="display:flex;">
          Description
          <a href="#description" class="anchor"></a>
          
          <a class="srclink" title="go to source location" href="https://github.com/WebKit/WebKit/tree/main/Source/WebKit/UIProcess/API/glib/WebKitGeolocationPermissionRequest.cpp#L34">[src]</a>
          
        </h4>

        <pre><code>final class WPEWebKit.GeolocationPermissionRequest : GObject.Object {
  /* No available fields */
}</pre></code>

        <div class="docblock">
          <p>A permission request for sharing the user&#8217;s&nbsp;location.</p>
<p>WebKitGeolocationPermissionRequest represents a request for
permission to decide whether WebKit should provide the user&#8217;s
location to a website when requested through the Geolocation <span class="caps">API</span>.</p>
<p>When a WebKitGeolocationPermissionRequest is not handled by the user,
it is denied by&nbsp;default.</p>
<p>When embedding web views in your application, you <em>must</em> configure an
application identifier to allow web content to use geolocation services.
The identifier <em>must</em> match the name of the <code>.desktop</code> file which describes
the application, sans the&nbsp;suffix.</p>
<p>If your application uses <code>GApplication</code> (or any subclass like
<code>GtkApplication</code>), WebKit will automatically use the identifier returned by
g_application_get_application_id(). This is the recommended approach for
enabling geolocation in&nbsp;applications.</p>
<p>If an identifier cannot be obtained through <code>GApplication</code>, the value
returned by <code>g_get_prgname()</code> will be used instead as a fallback. For
programs which cannot use <code>GApplication</code>, calling <code>g_set_prgname()</code> early
during initialization is needed when the name of the executable on disk
does not match the name of a valid <code>.desktop</code> file.</p>
        </div>

        <div class="docblock">
          
          
          
        </div>

        
      </div>
    </summary>

    
    <div class="toggle-wrapper hierarchy">
      <h4 id="hierarchy">
        Hierarchy
        <a href="#hierarchy" class="anchor"></a>
      </h4>
      <div class="docblock" alt="Hierarchy for WPEWebKit.GeolocationPermissionRequest">
        <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.40.1 (20161225.0304)
 -->
<!-- Title: hierarchy Pages: 1 -->
<svg width="244pt" height="188pt"
 viewBox="0.00 0.00 244.06 188.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 184)">
<title>hierarchy</title>
<!-- this -->
<g id="node1" class="node">
<title>this</title>
<g id="a_node1"><a xlink:title="WebKitGeolocationPermissionRequest">
<path fill="none" stroke="#000000" d="M224.0885,-108C224.0885,-108 11.9705,-108 11.9705,-108 5.9705,-108 -.0295,-102 -.0295,-96 -.0295,-96 -.0295,-84 -.0295,-84 -.0295,-78 5.9705,-72 11.9705,-72 11.9705,-72 224.0885,-72 224.0885,-72 230.0885,-72 236.0885,-78 236.0885,-84 236.0885,-84 236.0885,-96 236.0885,-96 236.0885,-102 230.0885,-108 224.0885,-108"/>
<text text-anchor="middle" x="118.0295" y="-85.8" font-family="Times,serif" font-size="14.00" fill="#000000">WebKitGeolocationPermissionRequest</text>
</a>
</g>
</g>
<!-- implements_0 -->
<g id="node3" class="node link">
<title>implements_0</title>
<g id="a_node3"><a xlink:href="iface.PermissionRequest.html" xlink:title="WebKitPermissionRequest">
<polygon fill="none" stroke="#000000" points="201.6667,-36 34.3923,-36 34.3923,0 201.6667,0 201.6667,-36"/>
<text text-anchor="middle" x="118.0295" y="-13.8" font-family="sans-serif" font-size="14.00" fill="#000000">WebKitPermissionRequest</text>
</a>
</g>
</g>
<!-- this&#45;&#45;implements_0 -->
<g id="edge2" class="edge">
<title>this&#45;&#45;implements_0</title>
<path fill="none" stroke="#000000" stroke-dasharray="1,5" d="M118.0295,-71.8314C118.0295,-61 118.0295,-47.2876 118.0295,-36.4133"/>
</g>
<!-- ancestor_0 -->
<g id="node2" class="node">
<title>ancestor_0</title>
<g id="a_node2"><a xlink:title="GObject.Object">
<path fill="none" stroke="#000000" d="M137.9545,-180C137.9545,-180 98.1045,-180 98.1045,-180 92.1045,-180 86.1045,-174 86.1045,-168 86.1045,-168 86.1045,-156 86.1045,-156 86.1045,-150 92.1045,-144 98.1045,-144 98.1045,-144 137.9545,-144 137.9545,-144 143.9545,-144 149.9545,-150 149.9545,-156 149.9545,-156 149.9545,-168 149.9545,-168 149.9545,-174 143.9545,-180 137.9545,-180"/>
<text text-anchor="middle" x="118.0295" y="-157.8" font-family="Times,serif" font-size="14.00" fill="#000000">GObject</text>
</a>
</g>
</g>
<!-- ancestor_0&#45;&#45;this -->
<g id="edge1" class="edge">
<title>ancestor_0&#45;&#45;this</title>
<path fill="none" stroke="#000000" d="M118.0295,-143.8314C118.0295,-133 118.0295,-119.2876 118.0295,-108.4133"/>
</g>
</g>
</svg>

      </div>
    </div>
    

    
    <div class="toggle-wrapper ancestors">
      <h4 id="ancestors">
        Ancestors
        <a href="#ancestors" class="anchor"></a>
      </h4>

      <div class="docblock">
        <ul>
        
          
          <li class="class"><a class="external" href="javascript:void(0)" data-link="class.Object.html" data-namespace="GObject">GObject</a></li>
          
        
        </ul>
      </div>
    </div>
    

    

    
    <div class="toggle-wrapper implements">
      <h4 id="implements">
        Implements
        <a href="#implements" class="anchor"></a>
      </h4>

      <div class="docblock">
        <ul>
        
          
          <li class="interface"><a href="iface.PermissionRequest.html" title="PermissionRequest">WebKitPermissionRequest</a></li>
          
        
        </ul>
      </div>
    </div>
    

    

    

    
    <div class="toggle-wrapper methods">
      <h4 id="methods">
        Instance methods
        <a href="#methods" class="anchor"></a>
      </h4>

      <div class="docblock">
      
      </div>

      
        
        <div class="toggle-wrapper default-hide ancestor-methods"><h5 style="display:block;">Methods inherited from <a class="external" href="javascript:void(0)" data-link="class.Object.html" data-namespace="GObject">GObject</a> (43)</h5>
          <div class="docblock">
          
            <div class="docblock">
              <p>Please see&nbsp;<a class="external" href="javascript:void(0)" data-link="class.Object.html#methods" data-namespace="GObject">GObject</a>&nbsp;for a full list of methods.</em></p>
            </div>
          
          </div>
        </div>
        
      

      
        
        <div class="toggle-wrapper default-hide ancestor-methods">
          <h5 style="display:block;">Methods inherited from <a href="iface.PermissionRequest.html">WebKitPermissionRequest</a> (2)</h5><div class="docblock">
          
            <h6><a href="method.PermissionRequest.allow.html">webkit_permission_request_allow</a></h6><div class="docblock">
              <p>Allow the action which triggered this&nbsp;request.</p>
            </div>
            <div class="docblock">
              <p></p>
            </div>
          
            <h6><a href="method.PermissionRequest.deny.html">webkit_permission_request_deny</a></h6><div class="docblock">
              <p>Deny the action which triggered this&nbsp;request.</p>
            </div>
            <div class="docblock">
              <p></p>
            </div>
          
          </div>
        </div>
        
      
    </div>
    

    

    
    <div class="signals toggle-wrapper">
      <h4 id="signals">
        Signals
        <a href="#signals" class="anchor"></a>
      </h4>

      

      
        
        <div class="toggle-wrapper default-hide ancestor-signals"><h5 style="display:block;">Signals inherited from <a class="external" href="javascript:void(0)" data-link="class.Object.html" data-namespace="GObject">GObject</a> (1)</h5>
          <div class="docblock">
          <h6><a class="external" href="javascript:void(0)" data-namespace="GObject" data-link="signal.Object.notify.html">GObject::notify</a></h6>
            <div class="docblock">
              <p>The notify signal is emitted on an object when one of its properties has
its value set through g_object_set_property(), g_object_set(), et&nbsp;al.</p>
            </div>
            <div class="docblock">
              <p></p>
            </div>
          
          </div>
        </div>
        
      

      
        
      

    </div>
    

    
    <div class="class toggle-wrapper default-hide">
      <h4 id="class-struct">
        Class structure
        <a href="#class-struct" class="anchor"></a>
      </h4>

      <div class="docblock">
        <pre><code>struct WPEWebKitGeolocationPermissionRequestClass {
  GObjectClass parent_class;
  
}</code></pre>
      </div>

      <div class="docblock">
        No description available.
      </div>

      
      <div class="docblock">
        <h6>Class members</h6>

        <dl class="members">
        
          <dt><code>parent_class: GObjectClass</code></dt>
          <dd>No description available.</dd>
        
        </dd>
      </div>
      
    </div>
    

    

    

  </section>
</section>


    
<div id="toc" class="toc">
  <nav aria-labelledby="toc-title">
    <p id="toc-title">Content</p>
    <ul class="toc-list">
      <li class="toc-list-item"><a href="#description"><span class="link-text">Description</span></a></li>
      
      
      <li class="toc-list-item"><a href="#hierarchy"><span class="link-text">Hierarchy</span></a></li>
      
      
      <li class="toc-list-item"><a href="#ancestors"><span class="link-text">Ancestors</span></a></li>
      
      
      <li class="toc-list-item"><a href="#implements"><span class="link-text">Implements</span></a></li>
      
      

      

      

      

      

      

      

    </ul>
  </nav>
</div>


    <section id="search" class="content hidden"></section>

    <footer>
    
    </footer>
  </div>
</body>
</html>