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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 const gfx::Rect& initial_pos, | 390 const gfx::Rect& initial_pos, |
391 bool user_gesture) OVERRIDE; | 391 bool user_gesture) OVERRIDE; |
392 virtual void ShowCreatedWidget(int route_id, | 392 virtual void ShowCreatedWidget(int route_id, |
393 const gfx::Rect& initial_pos) OVERRIDE; | 393 const gfx::Rect& initial_pos) OVERRIDE; |
394 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 394 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
395 virtual void ShowContextMenu( | 395 virtual void ShowContextMenu( |
396 const content::ContextMenuParams& params) OVERRIDE; | 396 const content::ContextMenuParams& params) OVERRIDE; |
397 virtual void RequestMediaAccessPermission( | 397 virtual void RequestMediaAccessPermission( |
398 const content::MediaStreamRequest* request, | 398 const content::MediaStreamRequest* request, |
399 const content::MediaResponseCallback& callback) OVERRIDE; | 399 const content::MediaResponseCallback& callback) OVERRIDE; |
| 400 virtual void UpdateDraggableRegions( |
| 401 const std::vector<content::DraggableRegion>& regions) OVERRIDE; |
400 | 402 |
401 // RenderWidgetHostDelegate -------------------------------------------------- | 403 // RenderWidgetHostDelegate -------------------------------------------------- |
402 | 404 |
403 virtual bool PreHandleKeyboardEvent( | 405 virtual bool PreHandleKeyboardEvent( |
404 const content::NativeWebKeyboardEvent& event, | 406 const content::NativeWebKeyboardEvent& event, |
405 bool* is_keyboard_shortcut) OVERRIDE; | 407 bool* is_keyboard_shortcut) OVERRIDE; |
406 virtual void HandleKeyboardEvent( | 408 virtual void HandleKeyboardEvent( |
407 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 409 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
408 | 410 |
409 // RenderViewHostManager::Delegate ------------------------------------------- | 411 // RenderViewHostManager::Delegate ------------------------------------------- |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 content::NotificationRegistrar registrar_; | 799 content::NotificationRegistrar registrar_; |
798 | 800 |
799 // Used during IPC message dispatching so that the handlers can get a pointer | 801 // Used during IPC message dispatching so that the handlers can get a pointer |
800 // to the RVH through which the message was received. | 802 // to the RVH through which the message was received. |
801 content::RenderViewHost* message_source_; | 803 content::RenderViewHost* message_source_; |
802 | 804 |
803 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 805 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
804 }; | 806 }; |
805 | 807 |
806 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 808 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |