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