| 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 <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 bool user_gesture) OVERRIDE; | 403 bool user_gesture) OVERRIDE; |
| 404 virtual void ShowCreatedWidget(int route_id, | 404 virtual void ShowCreatedWidget(int route_id, |
| 405 const gfx::Rect& initial_pos) OVERRIDE; | 405 const gfx::Rect& initial_pos) OVERRIDE; |
| 406 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 406 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
| 407 virtual void ShowContextMenu( | 407 virtual void ShowContextMenu( |
| 408 const content::ContextMenuParams& params) OVERRIDE; | 408 const content::ContextMenuParams& params) OVERRIDE; |
| 409 virtual void RequestMediaAccessPermission( | 409 virtual void RequestMediaAccessPermission( |
| 410 const content::MediaStreamRequest* request, | 410 const content::MediaStreamRequest* request, |
| 411 const content::MediaResponseCallback& callback) OVERRIDE; | 411 const content::MediaResponseCallback& callback) OVERRIDE; |
| 412 | 412 |
| 413 #if defined(OS_ANDROID) |
| 414 virtual void AttachLayer(WebKit::WebLayer* layer) OVERRIDE; |
| 415 virtual void RemoveLayer(WebKit::WebLayer* layer) OVERRIDE; |
| 416 #endif |
| 417 |
| 413 // RenderWidgetHostDelegate -------------------------------------------------- | 418 // RenderWidgetHostDelegate -------------------------------------------------- |
| 414 | 419 |
| 415 virtual bool PreHandleKeyboardEvent( | 420 virtual bool PreHandleKeyboardEvent( |
| 416 const content::NativeWebKeyboardEvent& event, | 421 const content::NativeWebKeyboardEvent& event, |
| 417 bool* is_keyboard_shortcut) OVERRIDE; | 422 bool* is_keyboard_shortcut) OVERRIDE; |
| 418 virtual void HandleKeyboardEvent( | 423 virtual void HandleKeyboardEvent( |
| 419 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 424 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 420 | 425 |
| 421 // RenderViewHostManager::Delegate ------------------------------------------- | 426 // RenderViewHostManager::Delegate ------------------------------------------- |
| 422 | 427 |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 content::NotificationRegistrar registrar_; | 823 content::NotificationRegistrar registrar_; |
| 819 | 824 |
| 820 // Used during IPC message dispatching so that the handlers can get a pointer | 825 // Used during IPC message dispatching so that the handlers can get a pointer |
| 821 // to the RVH through which the message was received. | 826 // to the RVH through which the message was received. |
| 822 content::RenderViewHost* message_source_; | 827 content::RenderViewHost* message_source_; |
| 823 | 828 |
| 824 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 829 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 825 }; | 830 }; |
| 826 | 831 |
| 827 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 832 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |