OLD | NEW |
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 Loading... |
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 // use the Observer interface to filter IPC messages and receive frame change | 909 // use the Observer interface to filter IPC messages and receive frame change |
909 // notifications. | 910 // notifications. |
910 // --------------------------------------------------------------------------- | 911 // --------------------------------------------------------------------------- |
911 | 912 |
912 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 913 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
913 }; | 914 }; |
914 | 915 |
915 } // namespace content | 916 } // namespace content |
916 | 917 |
917 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 918 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |