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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 WebKit::WebPopupType popup_type) OVERRIDE; | 399 WebKit::WebPopupType popup_type) OVERRIDE; |
400 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; | 400 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; |
401 virtual void ShowCreatedWindow(int route_id, | 401 virtual void ShowCreatedWindow(int route_id, |
402 WindowOpenDisposition disposition, | 402 WindowOpenDisposition disposition, |
403 const gfx::Rect& initial_pos, | 403 const gfx::Rect& initial_pos, |
404 bool user_gesture) OVERRIDE; | 404 bool user_gesture) OVERRIDE; |
405 virtual void ShowCreatedWidget(int route_id, | 405 virtual void ShowCreatedWidget(int route_id, |
406 const gfx::Rect& initial_pos) OVERRIDE; | 406 const gfx::Rect& initial_pos) OVERRIDE; |
407 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 407 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
408 virtual void ShowContextMenu( | 408 virtual void ShowContextMenu( |
409 const content::ContextMenuParams& params) OVERRIDE; | 409 const content::ContextMenuParams& params, |
| 410 const content::ContextMenuSourceType& type) OVERRIDE; |
410 virtual void RequestMediaAccessPermission( | 411 virtual void RequestMediaAccessPermission( |
411 const content::MediaStreamRequest* request, | 412 const content::MediaStreamRequest* request, |
412 const content::MediaResponseCallback& callback) OVERRIDE; | 413 const content::MediaResponseCallback& callback) OVERRIDE; |
413 | 414 |
414 #if defined(OS_ANDROID) | 415 #if defined(OS_ANDROID) |
415 virtual void AttachLayer(WebKit::WebLayer* layer) OVERRIDE; | 416 virtual void AttachLayer(WebKit::WebLayer* layer) OVERRIDE; |
416 virtual void RemoveLayer(WebKit::WebLayer* layer) OVERRIDE; | 417 virtual void RemoveLayer(WebKit::WebLayer* layer) OVERRIDE; |
417 #endif | 418 #endif |
418 | 419 |
419 // RenderWidgetHostDelegate -------------------------------------------------- | 420 // RenderWidgetHostDelegate -------------------------------------------------- |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 content::NotificationRegistrar registrar_; | 832 content::NotificationRegistrar registrar_; |
832 | 833 |
833 // Used during IPC message dispatching so that the handlers can get a pointer | 834 // Used during IPC message dispatching so that the handlers can get a pointer |
834 // to the RVH through which the message was received. | 835 // to the RVH through which the message was received. |
835 content::RenderViewHost* message_source_; | 836 content::RenderViewHost* message_source_; |
836 | 837 |
837 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 838 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
838 }; | 839 }; |
839 | 840 |
840 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 841 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |