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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
97 class WebPeerConnection00HandlerClient; | 97 class WebPeerConnection00HandlerClient; |
98 class WebMouseEvent; | 98 class WebMouseEvent; |
99 class WebPeerConnectionHandler; | 99 class WebPeerConnectionHandler; |
100 class WebPeerConnectionHandlerClient; | 100 class WebPeerConnectionHandlerClient; |
101 class WebSpeechRecognizer; | 101 class WebSpeechRecognizer; |
102 class WebStorageNamespace; | 102 class WebStorageNamespace; |
103 class WebTouchEvent; | 103 class WebTouchEvent; |
104 class WebURLRequest; | 104 class WebURLRequest; |
105 struct WebActiveWheelFlingParameters; | 105 struct WebActiveWheelFlingParameters; |
106 struct WebDateTimeChooserParams; | 106 struct WebDateTimeChooserParams; |
107 struct WebFloatSize; | |
108 struct WebFloatPoint; | |
107 struct WebFileChooserParams; | 109 struct WebFileChooserParams; |
108 struct WebFindOptions; | 110 struct WebFindOptions; |
109 struct WebMediaPlayerAction; | 111 struct WebMediaPlayerAction; |
110 struct WebPluginAction; | 112 struct WebPluginAction; |
111 struct WebPoint; | 113 struct WebPoint; |
112 struct WebWindowFeatures; | 114 struct WebWindowFeatures; |
113 | 115 |
114 #if defined(OS_ANDROID) | 116 #if defined(OS_ANDROID) |
115 class WebHitTestResult; | 117 class WebHitTestResult; |
116 #endif | 118 #endif |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
321 | 323 |
322 // Most methods are handled by RenderWidget. | 324 // Most methods are handled by RenderWidget. |
323 virtual void didFocus(); | 325 virtual void didFocus(); |
324 virtual void didBlur(); | 326 virtual void didBlur(); |
325 virtual void show(blink::WebNavigationPolicy policy); | 327 virtual void show(blink::WebNavigationPolicy policy); |
326 virtual bool requestPointerLock(); | 328 virtual bool requestPointerLock(); |
327 virtual void requestPointerUnlock(); | 329 virtual void requestPointerUnlock(); |
328 virtual bool isPointerLocked(); | 330 virtual bool isPointerLocked(); |
329 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, | 331 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, |
330 bool event_cancelled) override; | 332 bool event_cancelled) override; |
333 | |
334 void didOverscroll(const blink::WebFloatSize& unusedDelta, | |
jdduke (slow)
2015/06/04 18:40:04
Do we need this here? Why can't we just override |
MuVen
2015/06/05 05:51:52
true, not required.
| |
335 const blink::WebFloatSize& accumulatedRootOverScroll, | |
336 const blink::WebFloatPoint& position, | |
337 const blink::WebFloatSize& velocity); | |
338 | |
331 virtual void initializeLayerTreeView() override; | 339 virtual void initializeLayerTreeView() override; |
332 | 340 |
333 // blink::WebViewClient implementation -------------------------------------- | 341 // blink::WebViewClient implementation -------------------------------------- |
334 | 342 |
335 virtual blink::WebView* createView(blink::WebLocalFrame* creator, | 343 virtual blink::WebView* createView(blink::WebLocalFrame* creator, |
336 const blink::WebURLRequest& request, | 344 const blink::WebURLRequest& request, |
337 const blink::WebWindowFeatures& features, | 345 const blink::WebWindowFeatures& features, |
338 const blink::WebString& frame_name, | 346 const blink::WebString& frame_name, |
339 blink::WebNavigationPolicy policy, | 347 blink::WebNavigationPolicy policy, |
340 bool suppress_opener); | 348 bool suppress_opener); |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1021 // use the Observer interface to filter IPC messages and receive frame change | 1029 // use the Observer interface to filter IPC messages and receive frame change |
1022 // notifications. | 1030 // notifications. |
1023 // --------------------------------------------------------------------------- | 1031 // --------------------------------------------------------------------------- |
1024 | 1032 |
1025 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1033 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1026 }; | 1034 }; |
1027 | 1035 |
1028 } // namespace content | 1036 } // namespace content |
1029 | 1037 |
1030 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1038 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |