Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 10968037: Fix the issue that any tab/window closing hotkey will crash the Pepper Flash Fullscreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <string> 10 #include <string>
10 11
11 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "base/observer_list.h" 15 #include "base/observer_list.h"
15 #include "content/browser/browser_plugin/old/old_browser_plugin_host.h" 16 #include "content/browser/browser_plugin/old/old_browser_plugin_host.h"
16 #include "content/browser/renderer_host/java/java_bridge_dispatcher_host_manager .h" 17 #include "content/browser/renderer_host/java/java_bridge_dispatcher_host_manager .h"
17 #include "content/browser/renderer_host/render_view_host_delegate.h" 18 #include "content/browser/renderer_host/render_view_host_delegate.h"
18 #include "content/browser/renderer_host/render_widget_host_delegate.h" 19 #include "content/browser/renderer_host/render_widget_host_delegate.h"
(...skipping 19 matching lines...) Expand all
38 class WebContentsImpl; 39 class WebContentsImpl;
39 struct ViewMsg_PostMessage_Params; 40 struct ViewMsg_PostMessage_Params;
40 41
41 namespace content { 42 namespace content {
42 class ColorChooser; 43 class ColorChooser;
43 class DownloadItem; 44 class DownloadItem;
44 class JavaScriptDialogCreator; 45 class JavaScriptDialogCreator;
45 class RenderViewHost; 46 class RenderViewHost;
46 class RenderViewHostDelegateView; 47 class RenderViewHostDelegateView;
47 class RenderViewHostImpl; 48 class RenderViewHostImpl;
49 class RenderWidgetHostImpl;
48 class SiteInstance; 50 class SiteInstance;
49 class TestWebContents; 51 class TestWebContents;
50 class WebContentsDelegate; 52 class WebContentsDelegate;
51 class WebContentsObserver; 53 class WebContentsObserver;
52 class WebContentsView; 54 class WebContentsView;
53 class WebContentsViewDelegate; 55 class WebContentsViewDelegate;
54 struct LoadNotificationDetails; 56 struct LoadNotificationDetails;
55 57
56 // Factory function for the implementations that content knows about. Takes 58 // Factory function for the implementations that content knows about. Takes
57 // ownership of |delegate|. 59 // ownership of |delegate|.
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 const content::MediaStreamRequest* request, 410 const content::MediaStreamRequest* request,
409 const content::MediaResponseCallback& callback) OVERRIDE; 411 const content::MediaResponseCallback& callback) OVERRIDE;
410 412
411 #if defined(OS_ANDROID) 413 #if defined(OS_ANDROID)
412 virtual void AttachLayer(WebKit::WebLayer* layer) OVERRIDE; 414 virtual void AttachLayer(WebKit::WebLayer* layer) OVERRIDE;
413 virtual void RemoveLayer(WebKit::WebLayer* layer) OVERRIDE; 415 virtual void RemoveLayer(WebKit::WebLayer* layer) OVERRIDE;
414 #endif 416 #endif
415 417
416 // RenderWidgetHostDelegate -------------------------------------------------- 418 // RenderWidgetHostDelegate --------------------------------------------------
417 419
420 virtual void RenderWidgetDeleted(
421 content::RenderWidgetHostImpl* render_widget_host) OVERRIDE;
418 virtual bool PreHandleKeyboardEvent( 422 virtual bool PreHandleKeyboardEvent(
419 const content::NativeWebKeyboardEvent& event, 423 const content::NativeWebKeyboardEvent& event,
420 bool* is_keyboard_shortcut) OVERRIDE; 424 bool* is_keyboard_shortcut) OVERRIDE;
421 virtual void HandleKeyboardEvent( 425 virtual void HandleKeyboardEvent(
422 const content::NativeWebKeyboardEvent& event) OVERRIDE; 426 const content::NativeWebKeyboardEvent& event) OVERRIDE;
423 427
424 // RenderViewHostManager::Delegate ------------------------------------------- 428 // RenderViewHostManager::Delegate -------------------------------------------
425 429
426 virtual bool CreateRenderViewForRenderManager( 430 virtual bool CreateRenderViewForRenderManager(
427 content::RenderViewHost* render_view_host, int opener_route_id) OVERRIDE; 431 content::RenderViewHost* render_view_host, int opener_route_id) OVERRIDE;
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 content::ColorChooser* color_chooser_; 828 content::ColorChooser* color_chooser_;
825 829
826 // This must be at the end, or else we might get notifications and use other 830 // This must be at the end, or else we might get notifications and use other
827 // member variables that are gone. 831 // member variables that are gone.
828 content::NotificationRegistrar registrar_; 832 content::NotificationRegistrar registrar_;
829 833
830 // 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
831 // to the RVH through which the message was received. 835 // to the RVH through which the message was received.
832 content::RenderViewHost* message_source_; 836 content::RenderViewHost* message_source_;
833 837
838 // All live RenderWidgetHostImpls that are created by this object and may
839 // outlive it.
840 std::set<content::RenderWidgetHostImpl*> created_widgets_;
841
834 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 842 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
835 }; 843 };
836 844
837 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 845 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698