| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 void DisableAutoResizeForTesting(const gfx::Size& new_size); | 315 void DisableAutoResizeForTesting(const gfx::Size& new_size); |
| 316 | 316 |
| 317 // IPC::Listener implementation ---------------------------------------------- | 317 // IPC::Listener implementation ---------------------------------------------- |
| 318 | 318 |
| 319 bool OnMessageReceived(const IPC::Message& msg) override; | 319 bool OnMessageReceived(const IPC::Message& msg) override; |
| 320 | 320 |
| 321 // blink::WebWidgetClient implementation ------------------------------------ | 321 // blink::WebWidgetClient implementation ------------------------------------ |
| 322 | 322 |
| 323 // Most methods are handled by RenderWidget. | 323 // Most methods are handled by RenderWidget. |
| 324 void didFocus() override; | 324 void didFocus() override; |
| 325 void didBlur() override; | |
| 326 void show(blink::WebNavigationPolicy policy) override; | 325 void show(blink::WebNavigationPolicy policy) override; |
| 327 bool requestPointerLock() override; | 326 bool requestPointerLock() override; |
| 328 void requestPointerUnlock() override; | 327 void requestPointerUnlock() override; |
| 329 bool isPointerLocked() override; | 328 bool isPointerLocked() override; |
| 330 void didHandleGestureEvent(const blink::WebGestureEvent& event, | 329 void didHandleGestureEvent(const blink::WebGestureEvent& event, |
| 331 bool event_cancelled) override; | 330 bool event_cancelled) override; |
| 332 void onMouseDown(const blink::WebNode& mouse_down_node) override; | 331 void onMouseDown(const blink::WebNode& mouse_down_node) override; |
| 333 | 332 |
| 334 void initializeLayerTreeView() override; | 333 void initializeLayerTreeView() override; |
| 335 | 334 |
| (...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 // use the Observer interface to filter IPC messages and receive frame change | 1009 // use the Observer interface to filter IPC messages and receive frame change |
| 1011 // notifications. | 1010 // notifications. |
| 1012 // --------------------------------------------------------------------------- | 1011 // --------------------------------------------------------------------------- |
| 1013 | 1012 |
| 1014 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1013 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1015 }; | 1014 }; |
| 1016 | 1015 |
| 1017 } // namespace content | 1016 } // namespace content |
| 1018 | 1017 |
| 1019 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1018 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |