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

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

Issue 104833006: Switch ContentSettingsObserver to be a RenderFrameObserver instead of a RenderViewObserver (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual void Observe(int type, 96 virtual void Observe(int type,
97 const NotificationSource& source, 97 const NotificationSource& source,
98 const NotificationDetails& details) OVERRIDE; 98 const NotificationDetails& details) OVERRIDE;
99 99
100 // WebContentsObserver implementation: 100 // WebContentsObserver implementation:
101 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; 101 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
102 virtual void NavigationEntryCommitted( 102 virtual void NavigationEntryCommitted(
103 const LoadCommittedDetails& load_details) OVERRIDE; 103 const LoadCommittedDetails& load_details) OVERRIDE;
104 104
105 // RenderFrameHostDelegate implementation: 105 // RenderFrameHostDelegate implementation:
106 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE;
106 107
107 // RenderViewHostDelegate implementation: 108 // RenderViewHostDelegate implementation:
108 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; 109 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE;
109 virtual const GURL& GetURL() const OVERRIDE; 110 virtual const GURL& GetURL() const OVERRIDE;
110 virtual void RenderViewTerminated(RenderViewHost* render_view_host, 111 virtual void RenderViewTerminated(RenderViewHost* render_view_host,
111 base::TerminationStatus status, 112 base::TerminationStatus status,
112 int error_code) OVERRIDE; 113 int error_code) OVERRIDE;
113 virtual void DidNavigate( 114 virtual void DidNavigate(
114 RenderViewHost* render_view_host, 115 RenderViewHost* render_view_host,
115 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 116 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 268 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
268 269
269 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 270 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
270 271
271 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 272 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
272 }; 273 };
273 274
274 } // namespace content 275 } // namespace content
275 276
276 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 277 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698