| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; | 380 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; |
| 381 virtual void ShowCreatedWindow(int route_id, | 381 virtual void ShowCreatedWindow(int route_id, |
| 382 WindowOpenDisposition disposition, | 382 WindowOpenDisposition disposition, |
| 383 const gfx::Rect& initial_pos, | 383 const gfx::Rect& initial_pos, |
| 384 bool user_gesture) OVERRIDE; | 384 bool user_gesture) OVERRIDE; |
| 385 virtual void ShowCreatedWidget(int route_id, | 385 virtual void ShowCreatedWidget(int route_id, |
| 386 const gfx::Rect& initial_pos) OVERRIDE; | 386 const gfx::Rect& initial_pos) OVERRIDE; |
| 387 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 387 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
| 388 virtual void ShowContextMenu( | 388 virtual void ShowContextMenu( |
| 389 const content::ContextMenuParams& params) OVERRIDE; | 389 const content::ContextMenuParams& params) OVERRIDE; |
| 390 virtual void RequestMediaAccessPermission( |
| 391 const content::MediaStreamRequest* request, |
| 392 const content::MediaResponseCallback& callback) OVERRIDE; |
| 390 | 393 |
| 391 // RenderWidgetHostDelegate -------------------------------------------------- | 394 // RenderWidgetHostDelegate -------------------------------------------------- |
| 392 | 395 |
| 393 virtual bool PreHandleKeyboardEvent( | 396 virtual bool PreHandleKeyboardEvent( |
| 394 const content::NativeWebKeyboardEvent& event, | 397 const content::NativeWebKeyboardEvent& event, |
| 395 bool* is_keyboard_shortcut) OVERRIDE; | 398 bool* is_keyboard_shortcut) OVERRIDE; |
| 396 virtual void HandleKeyboardEvent( | 399 virtual void HandleKeyboardEvent( |
| 397 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 400 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 398 | 401 |
| 399 // RenderViewHostManager::Delegate ------------------------------------------- | 402 // RenderViewHostManager::Delegate ------------------------------------------- |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 content::ColorChooser* color_chooser_; | 792 content::ColorChooser* color_chooser_; |
| 790 | 793 |
| 791 // This must be at the end, or else we might get notifications and use other | 794 // This must be at the end, or else we might get notifications and use other |
| 792 // member variables that are gone. | 795 // member variables that are gone. |
| 793 content::NotificationRegistrar registrar_; | 796 content::NotificationRegistrar registrar_; |
| 794 | 797 |
| 795 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 798 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 796 }; | 799 }; |
| 797 | 800 |
| 798 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 801 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |