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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2496173003: Communicate audio state to renderer process on Android. (Closed)
Patch Set: Make power_level_monitoring_available private Created 4 years, 1 month 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
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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 int GetCapturerCount() const override; 315 int GetCapturerCount() const override;
316 bool IsAudioMuted() const override; 316 bool IsAudioMuted() const override;
317 void SetAudioMuted(bool mute) override; 317 void SetAudioMuted(bool mute) override;
318 bool IsConnectedToBluetoothDevice() const override; 318 bool IsConnectedToBluetoothDevice() const override;
319 bool IsCrashed() const override; 319 bool IsCrashed() const override;
320 void SetIsCrashed(base::TerminationStatus status, int error_code) override; 320 void SetIsCrashed(base::TerminationStatus status, int error_code) override;
321 base::TerminationStatus GetCrashedStatus() const override; 321 base::TerminationStatus GetCrashedStatus() const override;
322 int GetCrashedErrorCode() const override; 322 int GetCrashedErrorCode() const override;
323 bool IsBeingDestroyed() const override; 323 bool IsBeingDestroyed() const override;
324 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; 324 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
325 void OnAudioStateChanged(bool is_audio_playing) override; 325 void OnAudioStateChanged(bool is_audible) override;
326 base::TimeTicks GetLastActiveTime() const override; 326 base::TimeTicks GetLastActiveTime() const override;
327 void SetLastActiveTime(base::TimeTicks last_active_time) override; 327 void SetLastActiveTime(base::TimeTicks last_active_time) override;
328 base::TimeTicks GetLastHiddenTime() const override; 328 base::TimeTicks GetLastHiddenTime() const override;
329 void WasShown() override; 329 void WasShown() override;
330 void WasHidden() override; 330 void WasHidden() override;
331 bool NeedToFireBeforeUnload() override; 331 bool NeedToFireBeforeUnload() override;
332 void DispatchBeforeUnload() override; 332 void DispatchBeforeUnload() override;
333 void AttachToOuterWebContentsFrame( 333 void AttachToOuterWebContentsFrame(
334 WebContents* outer_web_contents, 334 WebContents* outer_web_contents,
335 RenderFrameHost* outer_contents_frame) override; 335 RenderFrameHost* outer_contents_frame) override;
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 // Adds/removes a callback called on creation of each new WebContents. 1453 // Adds/removes a callback called on creation of each new WebContents.
1454 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1454 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1455 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1455 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1456 1456
1457 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1457 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1458 }; 1458 };
1459 1459
1460 } // namespace content 1460 } // namespace content
1461 1461
1462 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1462 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/media/media_web_contents_observer.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698