File: bluetooth_internals.html

package info (click to toggle)
chromium 138.0.7204.157-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,071,864 kB
  • sloc: cpp: 34,936,859; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,953; asm: 946,768; xml: 739,967; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,806; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (133 lines) | stat: -rw-r--r-- 3,820 bytes parent folder | download | duplicates (4)
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
<!DOCTYPE HTML>
<html lang="en">

<!-- TODO(crbug.com/40490364): Localize strings. -->
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Bluetooth Internals</title>
  <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
  <link rel="stylesheet" href="chrome://resources/css/spinner.css">
  <link rel="stylesheet" href="bluetooth_internals.css">

  <script type="module" src="main.js"></script>
</head>

<body>
  <div id="page-container">
    <header class="page-header">
      <button id="menu-btn" class="custom-appearance"></button>
      <h1 class="page-title"></h1>
    </header>
    <section id="adapter" class="flex" hidden>
      <div class="header-extras">
<if expr="chromeos_ash">
        <button id="restart-bluetooth-btn">Restart system Bluetooth</button>
</if>
        <button id="adapter-refresh-btn">Refresh</button>
      </div>
    </section>
    <section id="devices" hidden>
      <div class="header-extras">
        <button id="scan-btn">Start Scan</button>
      </div>
    </section>
    <section id="debug" hidden>
      <div class="header-extras" id="debug-container"></div>
    </section>
  </div>
  <div id="snackbar-container"></div>
  <aside id="sidebar">
    <div class="overlay"></div>
    <section class="sidebar-content">
      <header>
        <h1>Bluetooth Internals</h1>
      </header>
      <nav>
        <ul role="tablist">
          <li class="selected" data-page-name="adapter">
            <button class="custom-appearance">Adapter</button>
          </li>
          <li data-page-name="devices">
            <button class="custom-appearance">Devices</button>
          </li>
          <li data-page-name="debug" data-page-name="debug">
            <button class="custom-appearance">Debug Logs</button>
          </li>
        </ul>
      </nav>
    </section>
  </aside>
</body>

<template id="device-details-template">
  <div class="device-details-page">
    <div class="header-extras">
      <button class="disconnect">Disconnect</button>
      <button class="forget">Forget</button>
    </div>
    <h3>Status</h3>
    <section class="device-details flex"></section>
    <h3>Services</h3>
    <section class="services"></section>
  </div>
</template>

<if expr="chromeos_ash">
<template id="btsnoop-template">
  <div>
    <div>
      Capture a Bluetooth debug log that will be saved to Downloads.
    </div>
    <div>
      Debug logs may contain sensitive information including device identifiers.
      Only share debug logs with people you trust.
    </div>
    <div>
      <button id="btmon-start-btn"></button>
      <span id="btmon-status-bar"></span>
    </div>
  </div>
</template>
</if>

<dialog id="need-location-services-on">
  Chrome needs location access to scan for devices. Location access is
  <a id="need-location-services-on-services-link">
    turned off for this device
  </a>.
</dialog>

<dialog id="need-location-permission-and-services-on">
  Chrome needs location access to scan for devices.
  <a id="need-location-permission-and-services-on-permission-link">
    Update permissions
  </a>. Location access is also
  <a id="need-location-permission-and-services-on-services-link">
    turned off for this device
  </a>.
</dialog>

<dialog id="need-nearby-devices-permission">
  Chrome needs permission to scan for nearby devices.
  <a id="need-nearby-devices-permission-permission-link">
    Update permissions
  </a>.
</dialog>

<dialog id="need-location-permission">
  Chrome needs location access to scan for devices.
  <a id="need-location-permission-permission-link">
    Update permissions
  </a>.
</dialog>

<dialog id="can-not-request-permissions">
  Can not request permissions.
</dialog>

<dialog id="refresh-page">
  Please refresh the page.
</dialog>

</html>