Chromium Code Reviews| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 323 | 323 |
| 324 // Most methods are handled by RenderWidget. | 324 // Most methods are handled by RenderWidget. |
| 325 virtual void didFocus(); | 325 virtual void didFocus(); |
| 326 virtual void didBlur(); | 326 virtual void didBlur(); |
| 327 virtual void show(blink::WebNavigationPolicy policy); | 327 virtual void show(blink::WebNavigationPolicy policy); |
| 328 virtual bool requestPointerLock(); | 328 virtual bool requestPointerLock(); |
| 329 virtual void requestPointerUnlock(); | 329 virtual void requestPointerUnlock(); |
| 330 virtual bool isPointerLocked(); | 330 virtual bool isPointerLocked(); |
| 331 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, | 331 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, |
| 332 bool event_cancelled) override; | 332 bool event_cancelled) override; |
| 333 virtual void didOverScrollOnMainThread(const float& unusedDeltaX, | |
|
jdduke (slow)
2015/04/24 16:57:23
Do we need to override this? Can we just have the
| |
| 334 const float& unusedDeltaY, | |
| 335 const float& accumaltedRootOverScrollX, | |
| 336 const float& accumaltedRootOverScrollY, | |
| 337 const float& positionX, | |
| 338 const float& positionY, | |
| 339 const float& velocityX, | |
| 340 const float& velocityY) override; | |
| 341 | |
| 333 virtual void initializeLayerTreeView() override; | 342 virtual void initializeLayerTreeView() override; |
| 334 | 343 |
| 335 // blink::WebViewClient implementation -------------------------------------- | 344 // blink::WebViewClient implementation -------------------------------------- |
| 336 | 345 |
| 337 virtual blink::WebView* createView(blink::WebLocalFrame* creator, | 346 virtual blink::WebView* createView(blink::WebLocalFrame* creator, |
| 338 const blink::WebURLRequest& request, | 347 const blink::WebURLRequest& request, |
| 339 const blink::WebWindowFeatures& features, | 348 const blink::WebWindowFeatures& features, |
| 340 const blink::WebString& frame_name, | 349 const blink::WebString& frame_name, |
| 341 blink::WebNavigationPolicy policy, | 350 blink::WebNavigationPolicy policy, |
| 342 bool suppress_opener); | 351 bool suppress_opener); |
| (...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1022 // use the Observer interface to filter IPC messages and receive frame change | 1031 // use the Observer interface to filter IPC messages and receive frame change |
| 1023 // notifications. | 1032 // notifications. |
| 1024 // --------------------------------------------------------------------------- | 1033 // --------------------------------------------------------------------------- |
| 1025 | 1034 |
| 1026 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1035 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1027 }; | 1036 }; |
| 1028 | 1037 |
| 1029 } // namespace content | 1038 } // namespace content |
| 1030 | 1039 |
| 1031 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1040 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |