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

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

Issue 2403363003: [Merge to 2883] Revert "[scheduler] Teach scheduler about audio state" (Closed)
Patch Set: Created 4 years, 2 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
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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 int GetCapturerCount() const override; 320 int GetCapturerCount() const override;
321 bool IsAudioMuted() const override; 321 bool IsAudioMuted() const override;
322 void SetAudioMuted(bool mute) override; 322 void SetAudioMuted(bool mute) override;
323 bool IsConnectedToBluetoothDevice() const override; 323 bool IsConnectedToBluetoothDevice() const override;
324 bool IsCrashed() const override; 324 bool IsCrashed() const override;
325 void SetIsCrashed(base::TerminationStatus status, int error_code) override; 325 void SetIsCrashed(base::TerminationStatus status, int error_code) override;
326 base::TerminationStatus GetCrashedStatus() const override; 326 base::TerminationStatus GetCrashedStatus() const override;
327 int GetCrashedErrorCode() const override; 327 int GetCrashedErrorCode() const override;
328 bool IsBeingDestroyed() const override; 328 bool IsBeingDestroyed() const override;
329 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; 329 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
330 void OnAudioStateChanged(bool is_audio_playing) override;
331 base::TimeTicks GetLastActiveTime() const override; 330 base::TimeTicks GetLastActiveTime() const override;
332 void SetLastActiveTime(base::TimeTicks last_active_time) override; 331 void SetLastActiveTime(base::TimeTicks last_active_time) override;
333 void WasShown() override; 332 void WasShown() override;
334 void WasHidden() override; 333 void WasHidden() override;
335 bool NeedToFireBeforeUnload() override; 334 bool NeedToFireBeforeUnload() override;
336 void DispatchBeforeUnload() override; 335 void DispatchBeforeUnload() override;
337 void AttachToOuterWebContentsFrame( 336 void AttachToOuterWebContentsFrame(
338 WebContents* outer_web_contents, 337 WebContents* outer_web_contents,
339 RenderFrameHost* outer_contents_frame) override; 338 RenderFrameHost* outer_contents_frame) override;
340 void Stop() override; 339 void Stop() override;
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 // Adds/removes a callback called on creation of each new WebContents. 1485 // Adds/removes a callback called on creation of each new WebContents.
1487 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1486 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1488 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1487 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1489 1488
1490 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1489 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1491 }; 1490 };
1492 1491
1493 } // namespace content 1492 } // namespace content
1494 1493
1495 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1494 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/media/audio_stream_monitor.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