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 <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 virtual void ShowCreatedWidget(int route_id, | 420 virtual void ShowCreatedWidget(int route_id, |
421 const gfx::Rect& initial_pos) OVERRIDE; | 421 const gfx::Rect& initial_pos) OVERRIDE; |
422 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 422 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
423 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; | 423 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; |
424 virtual void RequestMediaAccessPermission( | 424 virtual void RequestMediaAccessPermission( |
425 const MediaStreamRequest& request, | 425 const MediaStreamRequest& request, |
426 const MediaResponseCallback& callback) OVERRIDE; | 426 const MediaResponseCallback& callback) OVERRIDE; |
427 virtual SessionStorageNamespace* GetSessionStorageNamespace( | 427 virtual SessionStorageNamespace* GetSessionStorageNamespace( |
428 SiteInstance* instance) OVERRIDE; | 428 SiteInstance* instance) OVERRIDE; |
429 virtual FrameTree* GetFrameTree() OVERRIDE; | 429 virtual FrameTree* GetFrameTree() OVERRIDE; |
| 430 virtual bool IsGuest() const OVERRIDE; |
430 | 431 |
431 // RenderWidgetHostDelegate -------------------------------------------------- | 432 // RenderWidgetHostDelegate -------------------------------------------------- |
432 | 433 |
433 virtual void RenderWidgetDeleted( | 434 virtual void RenderWidgetDeleted( |
434 RenderWidgetHostImpl* render_widget_host) OVERRIDE; | 435 RenderWidgetHostImpl* render_widget_host) OVERRIDE; |
435 virtual bool PreHandleKeyboardEvent( | 436 virtual bool PreHandleKeyboardEvent( |
436 const NativeWebKeyboardEvent& event, | 437 const NativeWebKeyboardEvent& event, |
437 bool* is_keyboard_shortcut) OVERRIDE; | 438 bool* is_keyboard_shortcut) OVERRIDE; |
438 virtual void HandleKeyboardEvent( | 439 virtual void HandleKeyboardEvent( |
439 const NativeWebKeyboardEvent& event) OVERRIDE; | 440 const NativeWebKeyboardEvent& event) OVERRIDE; |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 // Maps the ids of pending image downloads to their callbacks | 989 // Maps the ids of pending image downloads to their callbacks |
989 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 990 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
990 ImageDownloadMap image_download_map_; | 991 ImageDownloadMap image_download_map_; |
991 | 992 |
992 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 993 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
993 }; | 994 }; |
994 | 995 |
995 } // namespace content | 996 } // namespace content |
996 | 997 |
997 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 998 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |