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

Side by Side Diff: content/browser/frame_host/interstitial_page_impl.h

Issue 2112923002: Fix crash when destroying a RenderWidgetHost that holds the pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void UpdateTitle(RenderFrameHost* render_frame_host, 111 void UpdateTitle(RenderFrameHost* render_frame_host,
112 int32_t page_id, 112 int32_t page_id,
113 const base::string16& title, 113 const base::string16& title,
114 base::i18n::TextDirection title_direction) override; 114 base::i18n::TextDirection title_direction) override;
115 InterstitialPage* GetAsInterstitialPage() override; 115 InterstitialPage* GetAsInterstitialPage() override;
116 AccessibilityMode GetAccessibilityMode() const override; 116 AccessibilityMode GetAccessibilityMode() const override;
117 void Cut() override; 117 void Cut() override;
118 void Copy() override; 118 void Copy() override;
119 void Paste() override; 119 void Paste() override;
120 void SelectAll() override; 120 void SelectAll() override;
121 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override;
121 122
122 // RenderViewHostDelegate implementation: 123 // RenderViewHostDelegate implementation:
123 RenderViewHostDelegateView* GetDelegateView() override; 124 RenderViewHostDelegateView* GetDelegateView() override;
124 bool OnMessageReceived(RenderViewHost* render_view_host, 125 bool OnMessageReceived(RenderViewHost* render_view_host,
125 const IPC::Message& message) override; 126 const IPC::Message& message) override;
126 const GURL& GetMainFrameLastCommittedURL() const override; 127 const GURL& GetMainFrameLastCommittedURL() const override;
127 void RenderViewTerminated(RenderViewHost* render_view_host, 128 void RenderViewTerminated(RenderViewHost* render_view_host,
128 base::TerminationStatus status, 129 base::TerminationStatus status,
129 int error_code) override; 130 int error_code) override;
130 RendererPreferences GetRendererPrefs( 131 RendererPreferences GetRendererPrefs(
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 303 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
303 304
304 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 305 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
305 306
306 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 307 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
307 }; 308 };
308 309
309 } // namespace content 310 } // namespace content
310 311
311 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 312 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698