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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h

Issue 12222004: Bluetooth UI: A "connecting" overlay is shown after enter a pin code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nits solved. Created 7 years, 10 months 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 | chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter, 128 virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter,
129 bool powered) OVERRIDE; 129 bool powered) OVERRIDE;
130 virtual void DeviceAdded(device::BluetoothAdapter* adapter, 130 virtual void DeviceAdded(device::BluetoothAdapter* adapter,
131 device::BluetoothDevice* device) OVERRIDE; 131 device::BluetoothDevice* device) OVERRIDE;
132 virtual void DeviceChanged(device::BluetoothAdapter* adapter, 132 virtual void DeviceChanged(device::BluetoothAdapter* adapter,
133 device::BluetoothDevice* device) OVERRIDE; 133 device::BluetoothDevice* device) OVERRIDE;
134 virtual void DeviceRemoved(device::BluetoothAdapter* adapter, 134 virtual void DeviceRemoved(device::BluetoothAdapter* adapter,
135 device::BluetoothDevice* device) OVERRIDE; 135 device::BluetoothDevice* device) OVERRIDE;
136 136
137 private: 137 private:
138 // Displays in the UI a connecting to the device |device| message.
139 void DeviceConnecting(device::BluetoothDevice* device);
140
138 // Called by device::BluetoothAdapter in response to a failure to 141 // Called by device::BluetoothAdapter in response to a failure to
139 // change the power status of the adapter. 142 // change the power status of the adapter.
140 void EnableChangeError(); 143 void EnableChangeError();
141 144
142 // Called by device::BluetoothAdapter in response to a failure to 145 // Called by device::BluetoothAdapter in response to a failure to
143 // set the adapter into discovery mode. 146 // set the adapter into discovery mode.
144 void FindDevicesError(); 147 void FindDevicesError();
145 148
146 // Called by device::BluetoothAdapter in response to a failure to 149 // Called by device::BluetoothAdapter in response to a failure to
147 // remove the adapter from discovery mode. 150 // remove the adapter from discovery mode.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // than this object does. 201 // than this object does.
199 base::WeakPtrFactory<BluetoothOptionsHandler> weak_ptr_factory_; 202 base::WeakPtrFactory<BluetoothOptionsHandler> weak_ptr_factory_;
200 203
201 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler); 204 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler);
202 }; 205 };
203 206
204 } // namespace options 207 } // namespace options
205 } // namespace chromeos 208 } // namespace chromeos
206 209
207 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ 210 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698