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 <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
137 struct RenderViewImplParams; | 137 struct RenderViewImplParams; |
138 | 138 |
139 #if defined(OS_ANDROID) | 139 #if defined(OS_ANDROID) |
140 class WebMediaPlayerProxyAndroid; | 140 class WebMediaPlayerProxyAndroid; |
141 #endif | 141 #endif |
142 | 142 |
143 // | 143 // |
144 // RenderView is an object that manages a WebView object, and provides a | 144 // RenderView is an object that manages a WebView object, and provides a |
145 // communication interface with an embedding application process. | 145 // communication interface with an embedding application process. |
146 // | 146 // |
147 // DEPRECATED: RenderViewImpl is being removed as part of the SiteIsolation | 147 // DEPRECATED: RenderViewImpl is being removed as part of the SiteIsolation |
Charlie Reis
2015/07/06 21:30:41
RenderView is also deprecated.
| |
148 // project. New code should be added to RenderFrameImpl instead. | 148 // project. New code should be added to RenderFrameImpl instead. |
149 // | 149 // |
150 // For context, please see https://crbug.com/467770 and | 150 // For context, please see https://crbug.com/467770 and |
151 // http://www.chromium.org/developers/design-documents/site-isolation. | 151 // http://www.chromium.org/developers/design-documents/site-isolation. |
152 class CONTENT_EXPORT RenderViewImpl | 152 class CONTENT_EXPORT RenderViewImpl |
153 : public RenderWidget, | 153 : public RenderWidget, |
154 NON_EXPORTED_BASE(public blink::WebViewClient), | 154 NON_EXPORTED_BASE(public blink::WebViewClient), |
155 NON_EXPORTED_BASE(public blink::WebPageSerializerClient), | 155 NON_EXPORTED_BASE(public blink::WebPageSerializerClient), |
156 public RenderView, | 156 public RenderView, |
157 public base::SupportsWeakPtr<RenderViewImpl> { | 157 public base::SupportsWeakPtr<RenderViewImpl> { |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
666 void OnStopFinding(StopFindAction action); | 666 void OnStopFinding(StopFindAction action); |
667 void OnSuppressDialogsUntilSwapOut(); | 667 void OnSuppressDialogsUntilSwapOut(); |
668 void OnThemeChanged(); | 668 void OnThemeChanged(); |
669 void OnUpdateTargetURLAck(); | 669 void OnUpdateTargetURLAck(); |
670 void OnUpdateWebPreferences(const WebPreferences& prefs); | 670 void OnUpdateWebPreferences(const WebPreferences& prefs); |
671 void OnResetPageScale(); | 671 void OnResetPageScale(); |
672 void OnZoom(PageZoom zoom); | 672 void OnZoom(PageZoom zoom); |
673 void OnEnableViewSourceMode(); | 673 void OnEnableViewSourceMode(); |
674 void OnForceRedraw(int request_id); | 674 void OnForceRedraw(int request_id); |
675 void OnSelectWordAroundCaret(); | 675 void OnSelectWordAroundCaret(); |
676 void OnExpandSelectionByCharacterOffset(int start_adjust, int end_adjust); | |
676 #if defined(OS_ANDROID) | 677 #if defined(OS_ANDROID) |
677 void OnActivateNearestFindResult(int request_id, float x, float y); | 678 void OnActivateNearestFindResult(int request_id, float x, float y); |
678 void OnFindMatchRects(int current_version); | 679 void OnFindMatchRects(int current_version); |
679 void OnUndoScrollFocusedEditableNodeIntoRect(); | 680 void OnUndoScrollFocusedEditableNodeIntoRect(); |
680 void OnUpdateTopControlsState(bool enable_hiding, | 681 void OnUpdateTopControlsState(bool enable_hiding, |
681 bool enable_showing, | 682 bool enable_showing, |
682 bool animate); | 683 bool animate); |
683 void OnExtractSmartClipData(const gfx::Rect& rect); | 684 void OnExtractSmartClipData(const gfx::Rect& rect); |
684 #elif defined(OS_MACOSX) | 685 #elif defined(OS_MACOSX) |
685 void OnGetRenderedText(); | 686 void OnGetRenderedText(); |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1020 // use the Observer interface to filter IPC messages and receive frame change | 1021 // use the Observer interface to filter IPC messages and receive frame change |
1021 // notifications. | 1022 // notifications. |
1022 // --------------------------------------------------------------------------- | 1023 // --------------------------------------------------------------------------- |
1023 | 1024 |
1024 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1025 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1025 }; | 1026 }; |
1026 | 1027 |
1027 } // namespace content | 1028 } // namespace content |
1028 | 1029 |
1029 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1030 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |