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

Unified Diff: chromeos/dbus/fake_cras_audio_client.h

Issue 2190773002: Fix Volume slider is captured in screenshot done in touchview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cras side unittest Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/fake_cras_audio_client.h
diff --git a/chromeos/dbus/fake_cras_audio_client.h b/chromeos/dbus/fake_cras_audio_client.h
index 443085363c43cd1947e8608db35b17b3bae9a460..d5b90495e67820474576f72404cfc111ab9ae544 100644
--- a/chromeos/dbus/fake_cras_audio_client.h
+++ b/chromeos/dbus/fake_cras_audio_client.h
@@ -63,6 +63,9 @@ class CHROMEOS_EXPORT FakeCrasAudioClient : public CrasAudioClient {
// Generates fake signal for OutputNodeVolumeChanged.
void NotifyOutputNodeVolumeChangedForTesting(uint64_t node_id, int volume);
+ // Generates fake signal for AudioClientRestarted.
+ void NotifyAudioClientRestartedForTesting(const AudioNodeList& new_nodes);
Daniel Erat 2016/08/04 00:58:19 minor nit: since the node list isn't part of the n
Qiang(Joe) Xu 2016/08/04 04:02:15 Done.
+
const AudioNodeList& node_list() const { return node_list_; }
const uint64_t& active_input_node_id() const { return active_input_node_id_; }
const uint64_t& active_output_node_id() const {

Powered by Google App Engine
This is Rietveld 408576698