File: class.WebFormManager.html

package info (click to toggle)
webkit2gtk 2.50.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 445,712 kB
  • sloc: cpp: 3,798,329; javascript: 197,914; ansic: 161,339; python: 49,141; asm: 21,987; ruby: 18,540; perl: 16,723; xml: 4,623; yacc: 2,360; sh: 2,246; java: 2,019; lex: 1,327; pascal: 366; makefile: 300
file content (487 lines) | stat: -rw-r--r-- 14,455 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
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
<!--
SPDX-FileCopyrightText: The WebKit GTK and WPE teams

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

<!DOCTYPE html>
<html lang="en">
<head>
  <title>WebKitWebProcessExtension.WebFormManager</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="WebKitWebProcessExtension.WebFormManager"/>
  <meta property="og:description" content="Reference for WebKitWebProcessExtension.WebFormManager"/>
  <meta name="twitter:title" content="WebKitWebProcessExtension.WebFormManager"/>
  <meta name="twitter:description" content="Reference for WebKitWebProcessExtension.WebFormManager"/>


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

  
  
  
  

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

  

  
  <script src="gtk4-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">WebKitWebProcessExtension</a></h3>
        <p>API Version: 6.0</p>
        
        <p>Library Version: 2.50.1</p>
        
      </div>
      
<div class="section">
  <h5>Type</h5>
  <div class="links">
    <a class="current" href="class.WebFormManager.html#description">WebFormManager</a>
  </div>
</div>


  


  
<div class="section">
  <h5>Functions</h5>
  <div class="links">
  
    <a class="func" href="type_func.WebFormManager.input_element_auto_fill.html">input_element_auto_fill</a>
  
    <a class="func" href="type_func.WebFormManager.input_element_is_auto_filled.html">input_element_is_auto_filled</a>
  
    <a class="func" href="type_func.WebFormManager.input_element_is_user_edited.html">input_element_is_user_edited</a>
  
  </div>
</div>



  


  


  
<div class="section">
  <h5>Signals</h5>
  <div class="links">
  
    <a class="signal" href="signal.WebFormManager.form-controls-associated.html">form-controls-associated</a>
  
    <a class="signal" href="signal.WebFormManager.will-send-submit-event.html">will-send-submit-event</a>
  
    <a class="signal" href="signal.WebFormManager.will-submit-form.html">will-submit-form</a>
  
  </div>
</div>



  


  



      <div class="section generator">
        <p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2023.4</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">WebKitWebProcessExtension</a><span class="sep" role="presentation"></span>WebFormManager</h1>
  </header>

  <section>
    <summary>
      <div class="docblock">
        <p><span class="emblem available">since: 2.40</span></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/WebProcess/InjectedBundle/API/glib/WebKitWebFormManager.cpp#L33">[src]</a>
          
        </h4>

        <pre><code>class WebKitWebProcessExtension.WebFormManager : GObject.Object
{
  /* No available fields */
}</pre></code>

        <div class="docblock">
          <p>Form manager of a <code>WebKitWebPage</code> in a <code>WebKitScriptWorld</code>.</p>
        </div>

        <div class="docblock">
          
          
          <p>Available since: 2.40</p>
          
          
        </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 WebKitWebProcessExtension.WebFormManager">
        <?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.42.4 (0)
 -->
<!-- Title: hierarchy Pages: 1 -->
<svg width="208pt" height="116pt"
 viewBox="0.00 0.00 208.00 116.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 112)">
<title>hierarchy</title>
<!-- this -->
<g id="node1" class="node">
<title>this</title>
<g id="a_node1"><a xlink:title="WebKitWebFormManager">
<path fill="none" stroke="black" d="M188,-36C188,-36 12,-36 12,-36 6,-36 0,-30 0,-24 0,-24 0,-12 0,-12 0,-6 6,0 12,0 12,0 188,0 188,0 194,0 200,-6 200,-12 200,-12 200,-24 200,-24 200,-30 194,-36 188,-36"/>
<text text-anchor="middle" x="100" y="-14.3" font-family="Times,serif" font-size="14.00">WebKitWebFormManager</text>
</a>
</g>
</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="black" d="M125,-108C125,-108 75,-108 75,-108 69,-108 63,-102 63,-96 63,-96 63,-84 63,-84 63,-78 69,-72 75,-72 75,-72 125,-72 125,-72 131,-72 137,-78 137,-84 137,-84 137,-96 137,-96 137,-102 131,-108 125,-108"/>
<text text-anchor="middle" x="100" y="-86.3" font-family="Times,serif" font-size="14.00">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="black" d="M100,-71.7C100,-60.85 100,-46.92 100,-36.1"/>
</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 methods">
      <h4 id="type-functions">
        Functions
        <a href="#type-functions" class="anchor"></a>
      </h4>

      <div class="docblock">
      
      <div class="">
        <h6><a href="type_func.WebFormManager.input_element_auto_fill.html">webkit_web_form_manager_input_element_auto_fill</a></h6>
        <div class="docblock">
          <p>Set the value of an <span class="caps">HTML</span> input element as if it had been edited by
the user, triggering a change event, and set it as filled automatically.
If <code>element</code> is not an <span class="caps">HTML</span> input element this function does&nbsp;nothing.</p>
        </div>
        <div class="docblock">
          <p><span class="emblem available">since: 2.40</span></p>
        </div>
      </div>
      
      <div class="">
        <h6><a href="type_func.WebFormManager.input_element_is_auto_filled.html">webkit_web_form_manager_input_element_is_auto_filled</a></h6>
        <div class="docblock">
          <p>Get whether <code>element</code> is an <span class="caps">HTML</span> input element that has been filled&nbsp;automatically.</p>
        </div>
        <div class="docblock">
          <p><span class="emblem available">since: 2.40</span></p>
        </div>
      </div>
      
      <div class="">
        <h6><a href="type_func.WebFormManager.input_element_is_user_edited.html">webkit_web_form_manager_input_element_is_user_edited</a></h6>
        <div class="docblock">
          <p>Get whether <code>element</code> is an <span class="caps">HTML</span> text input element that has been edited by a user&nbsp;action.</p>
        </div>
        <div class="docblock">
          <p><span class="emblem available">since: 2.40</span></p>
        </div>
      </div>
      
      </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>
    

    

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

      
      <div class="docblock">
      
        <div class="">
          <h6><a href="signal.WebFormManager.form-controls-associated.html">WebKitWebProcessExtension.WebFormManager::form-controls-associated</a></h6>
          <div class="docblock">
            <p>Emitted after form elements (or form associated elements) are associated to <code>frame</code>.
This is useful to implement form auto filling for web pages where form fields are added
dynamically. This signal might be emitted multiple times for the same&nbsp;frame.</p>
          </div>
          <div class="docblock">
            <p><span class="emblem available">since: 2.40</span></p>
          </div>
        </div>
      
        <div class="">
          <h6><a href="signal.WebFormManager.will-send-submit-event.html">WebKitWebProcessExtension.WebFormManager::will-send-submit-event</a></h6>
          <div class="docblock">
            <p>This signal is emitted when the <span class="caps">DOM</span> submit event is about to be fired for <code>form</code>.
JavaScript code may rely on the submit event to detect that the user has clicked
on a submit button, and to possibly cancel the form submission before
<code>WebKitWebFormManager::will-submit-form</code> signal is emitted.
However, beware that, for historical reasons, the submit event is not emitted at
all if the form submission is triggered by JavaScript. For these reasons,
this signal may not be used to reliably detect whether a form will be submitted.
Instead, use it to detect if a user has clicked on a form&#8217;s submit button even if
JavaScript later cancels the form submission, or to read the values of the form&#8217;s
fields even if JavaScript later clears certain fields before submitting. This may
be needed, for example, to implement a robust browser password manager, as some
misguided websites may use such techniques to attempt to thwart password&nbsp;managers.</p>
          </div>
          <div class="docblock">
            <p><span class="emblem available">since: 2.40</span></p>
          </div>
        </div>
      
        <div class="">
          <h6><a href="signal.WebFormManager.will-submit-form.html">WebKitWebProcessExtension.WebFormManager::will-submit-form</a></h6>
          <div class="docblock">
            <p>This signal is emitted when <code>form</code> will imminently be submitted. It can no longer
be cancelled. This event always occurs immediately before a form is submitted to
its target, so use this event to reliably detect when a form is submitted. This
signal is emitted after <code>WebKitWebFormManager::will-send-submit-event</code> if that
signal is&nbsp;emitted.</p>
          </div>
          <div class="docblock">
            <p><span class="emblem available">since: 2.40</span></p>
          </div>
        </div>
      
      </div>
      

      
        
        <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>
        </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 WebKitWebProcessExtensionWebFormManagerClass {
  GObjectClass parent_class;
  
}</code></pre>
      </div>

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

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

        <dl class="members">
        
          <dt><code>parent_class: GObjectClass</code></dt>
          <dd><p>No description available.</p></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="#type-functions"><span class="link-text">Functions</span></a></li>


      

      

      
<li class="toc-list-item"><a href="#signals"><span class="link-text">Signals</span></a></li>


      

      

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


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

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