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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2383473002: [scheduler] Teach scheduler about audio state (Closed)
Patch Set: Rebased 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 610 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
611 void OnSetWebUIProperty(const std::string& name, const std::string& value); 611 void OnSetWebUIProperty(const std::string& name, const std::string& value);
612 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 612 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
613 void OnSuppressDialogsUntilSwapOut(); 613 void OnSuppressDialogsUntilSwapOut();
614 void OnUpdateTargetURLAck(); 614 void OnUpdateTargetURLAck();
615 void OnUpdateWebPreferences(const WebPreferences& prefs); 615 void OnUpdateWebPreferences(const WebPreferences& prefs);
616 void OnSetPageScale(float page_scale_factor); 616 void OnSetPageScale(float page_scale_factor);
617 void OnZoom(PageZoom zoom); 617 void OnZoom(PageZoom zoom);
618 void OnForceRedraw(const ui::LatencyInfo& latency_info); 618 void OnForceRedraw(const ui::LatencyInfo& latency_info);
619 void OnSelectWordAroundCaret(); 619 void OnSelectWordAroundCaret();
620 void OnAudioStateChanged(bool is_audio_playing);
620 #if defined(OS_ANDROID) 621 #if defined(OS_ANDROID)
621 void OnUndoScrollFocusedEditableNodeIntoRect(); 622 void OnUndoScrollFocusedEditableNodeIntoRect();
622 void OnUpdateTopControlsState(bool enable_hiding, 623 void OnUpdateTopControlsState(bool enable_hiding,
623 bool enable_showing, 624 bool enable_showing,
624 bool animate); 625 bool animate);
625 void OnExtractSmartClipData(const gfx::Rect& rect); 626 void OnExtractSmartClipData(const gfx::Rect& rect);
626 #elif defined(OS_MACOSX) 627 #elif defined(OS_MACOSX)
627 void OnGetRenderedText(); 628 void OnGetRenderedText();
628 #endif 629 #endif
629 630
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 // use the Observer interface to filter IPC messages and receive frame change 903 // use the Observer interface to filter IPC messages and receive frame change
903 // notifications. 904 // notifications.
904 // --------------------------------------------------------------------------- 905 // ---------------------------------------------------------------------------
905 906
906 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 907 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
907 }; 908 };
908 909
909 } // namespace content 910 } // namespace content
910 911
911 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 912 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698