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

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

Issue 271863005: Revert 268939 "Pass RenderFrameHost to WebContentObservers' mess..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 RenderViewHost* render_view_host, 101 RenderViewHost* render_view_host,
102 const FrameHostMsg_DidCommitProvisionalLoad_Params& params); 102 const FrameHostMsg_DidCommitProvisionalLoad_Params& params);
103 103
104 protected: 104 protected:
105 // NotificationObserver method: 105 // NotificationObserver method:
106 virtual void Observe(int type, 106 virtual void Observe(int type,
107 const NotificationSource& source, 107 const NotificationSource& source,
108 const NotificationDetails& details) OVERRIDE; 108 const NotificationDetails& details) OVERRIDE;
109 109
110 // WebContentsObserver implementation: 110 // WebContentsObserver implementation:
111 virtual bool OnMessageReceived(const IPC::Message& message,
112 RenderFrameHost* render_frame_host) OVERRIDE;
113 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 111 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
114 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; 112 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
115 virtual void NavigationEntryCommitted( 113 virtual void NavigationEntryCommitted(
116 const LoadCommittedDetails& load_details) OVERRIDE; 114 const LoadCommittedDetails& load_details) OVERRIDE;
117 115
118 // RenderFrameHostDelegate implementation: 116 // RenderFrameHostDelegate implementation:
119 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, 117 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host,
120 const IPC::Message& message) OVERRIDE; 118 const IPC::Message& message) OVERRIDE;
121 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; 119 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE;
122 120
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 286 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
289 287
290 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 288 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
291 289
292 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 290 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
293 }; 291 };
294 292
295 } // namespace content 293 } // namespace content
296 294
297 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 295 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698