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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 607 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
608 void OnSetWebUIProperty(const std::string& name, const std::string& value); | 608 void OnSetWebUIProperty(const std::string& name, const std::string& value); |
609 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 609 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
610 void OnSuppressDialogsUntilSwapOut(); | 610 void OnSuppressDialogsUntilSwapOut(); |
611 void OnUpdateTargetURLAck(); | 611 void OnUpdateTargetURLAck(); |
612 void OnUpdateWebPreferences(const WebPreferences& prefs); | 612 void OnUpdateWebPreferences(const WebPreferences& prefs); |
613 void OnSetPageScale(float page_scale_factor); | 613 void OnSetPageScale(float page_scale_factor); |
614 void OnZoom(PageZoom zoom); | 614 void OnZoom(PageZoom zoom); |
615 void OnForceRedraw(const ui::LatencyInfo& latency_info); | 615 void OnForceRedraw(const ui::LatencyInfo& latency_info); |
616 void OnSelectWordAroundCaret(); | 616 void OnSelectWordAroundCaret(); |
| 617 void OnAudioStateChanged(bool is_audio_playing); |
617 #if defined(OS_ANDROID) | 618 #if defined(OS_ANDROID) |
618 void OnUndoScrollFocusedEditableNodeIntoRect(); | 619 void OnUndoScrollFocusedEditableNodeIntoRect(); |
619 void OnUpdateTopControlsState(bool enable_hiding, | 620 void OnUpdateTopControlsState(bool enable_hiding, |
620 bool enable_showing, | 621 bool enable_showing, |
621 bool animate); | 622 bool animate); |
622 void OnExtractSmartClipData(const gfx::Rect& rect); | 623 void OnExtractSmartClipData(const gfx::Rect& rect); |
623 #elif defined(OS_MACOSX) | 624 #elif defined(OS_MACOSX) |
624 void OnGetRenderedText(); | 625 void OnGetRenderedText(); |
625 #endif | 626 #endif |
626 | 627 |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 // use the Observer interface to filter IPC messages and receive frame change | 906 // use the Observer interface to filter IPC messages and receive frame change |
906 // notifications. | 907 // notifications. |
907 // --------------------------------------------------------------------------- | 908 // --------------------------------------------------------------------------- |
908 | 909 |
909 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 910 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
910 }; | 911 }; |
911 | 912 |
912 } // namespace content | 913 } // namespace content |
913 | 914 |
914 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 915 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |