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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 | 470 |
471 virtual void RenderWidgetDeleted( | 471 virtual void RenderWidgetDeleted( |
472 RenderWidgetHostImpl* render_widget_host) OVERRIDE; | 472 RenderWidgetHostImpl* render_widget_host) OVERRIDE; |
473 virtual bool PreHandleKeyboardEvent( | 473 virtual bool PreHandleKeyboardEvent( |
474 const NativeWebKeyboardEvent& event, | 474 const NativeWebKeyboardEvent& event, |
475 bool* is_keyboard_shortcut) OVERRIDE; | 475 bool* is_keyboard_shortcut) OVERRIDE; |
476 virtual void HandleKeyboardEvent( | 476 virtual void HandleKeyboardEvent( |
477 const NativeWebKeyboardEvent& event) OVERRIDE; | 477 const NativeWebKeyboardEvent& event) OVERRIDE; |
478 virtual bool PreHandleWheelEvent( | 478 virtual bool PreHandleWheelEvent( |
479 const blink::WebMouseWheelEvent& event) OVERRIDE; | 479 const blink::WebMouseWheelEvent& event) OVERRIDE; |
| 480 virtual bool PreHandleGestureEvent( |
| 481 const blink::WebGestureEvent& event) OVERRIDE; |
480 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) OVERRIDE; | 482 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) OVERRIDE; |
481 #if defined(OS_WIN) | 483 #if defined(OS_WIN) |
482 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; | 484 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; |
483 #endif | 485 #endif |
484 | 486 |
485 // RenderFrameHostManager::Delegate ------------------------------------------ | 487 // RenderFrameHostManager::Delegate ------------------------------------------ |
486 | 488 |
487 virtual bool CreateRenderViewForRenderManager( | 489 virtual bool CreateRenderViewForRenderManager( |
488 RenderViewHost* render_view_host, int opener_route_id) OVERRIDE; | 490 RenderViewHost* render_view_host, int opener_route_id) OVERRIDE; |
489 virtual void BeforeUnloadFiredFromRenderManager( | 491 virtual void BeforeUnloadFiredFromRenderManager( |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 // Whether this WebContents is responsible for displaying a subframe in a | 1044 // Whether this WebContents is responsible for displaying a subframe in a |
1043 // different process from its parent page. | 1045 // different process from its parent page. |
1044 bool is_subframe_; | 1046 bool is_subframe_; |
1045 | 1047 |
1046 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1048 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1047 }; | 1049 }; |
1048 | 1050 |
1049 } // namespace content | 1051 } // namespace content |
1050 | 1052 |
1051 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1053 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |