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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 WindowOpenDisposition disposition, | 407 WindowOpenDisposition disposition, |
408 const gfx::Rect& initial_pos, | 408 const gfx::Rect& initial_pos, |
409 bool user_gesture) OVERRIDE; | 409 bool user_gesture) OVERRIDE; |
410 virtual void ShowCreatedWidget(int route_id, | 410 virtual void ShowCreatedWidget(int route_id, |
411 const gfx::Rect& initial_pos) OVERRIDE; | 411 const gfx::Rect& initial_pos) OVERRIDE; |
412 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 412 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
413 virtual void ShowContextMenu( | 413 virtual void ShowContextMenu( |
414 const ContextMenuParams& params, | 414 const ContextMenuParams& params, |
415 ContextMenuSourceType type) OVERRIDE; | 415 ContextMenuSourceType type) OVERRIDE; |
416 virtual void RequestMediaAccessPermission( | 416 virtual void RequestMediaAccessPermission( |
417 const MediaStreamRequest* request, | 417 const MediaStreamRequest& request, |
418 const MediaResponseCallback& callback) OVERRIDE; | 418 const MediaResponseCallback& callback) OVERRIDE; |
419 | 419 |
420 // RenderWidgetHostDelegate -------------------------------------------------- | 420 // RenderWidgetHostDelegate -------------------------------------------------- |
421 | 421 |
422 virtual void RenderWidgetDeleted( | 422 virtual void RenderWidgetDeleted( |
423 RenderWidgetHostImpl* render_widget_host) OVERRIDE; | 423 RenderWidgetHostImpl* render_widget_host) OVERRIDE; |
424 virtual bool PreHandleKeyboardEvent( | 424 virtual bool PreHandleKeyboardEvent( |
425 const NativeWebKeyboardEvent& event, | 425 const NativeWebKeyboardEvent& event, |
426 bool* is_keyboard_shortcut) OVERRIDE; | 426 bool* is_keyboard_shortcut) OVERRIDE; |
427 virtual void HandleKeyboardEvent( | 427 virtual void HandleKeyboardEvent( |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 // Maps the ids of pending favicon downloads to their callbacks | 859 // Maps the ids of pending favicon downloads to their callbacks |
860 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 860 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
861 FaviconDownloadMap favicon_download_map_; | 861 FaviconDownloadMap favicon_download_map_; |
862 | 862 |
863 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 863 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
864 }; | 864 }; |
865 | 865 |
866 } // namespace content | 866 } // namespace content |
867 | 867 |
868 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 868 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |