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

Side by Side Diff: chrome/browser/ui/search/instant_ntp.h

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 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 | 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 CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_ 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 const base::Closure& on_stale_callback); 39 const base::Closure& on_stale_callback);
40 40
41 // Releases the WebContents for the Instant page. This should be called when 41 // Releases the WebContents for the Instant page. This should be called when
42 // the page is about to be committed. 42 // the page is about to be committed.
43 scoped_ptr<content::WebContents> ReleaseContents(); 43 scoped_ptr<content::WebContents> ReleaseContents();
44 44
45 private: 45 private:
46 // Overridden from content::WebContentsObserver: 46 // Overridden from content::WebContentsObserver:
47 virtual void RenderViewCreated( 47 virtual void RenderViewCreated(
48 content::RenderViewHost* render_view_host) OVERRIDE; 48 content::RenderViewHost* render_view_host) OVERRIDE;
49 virtual void RenderViewGone( 49 virtual void RenderProcessGone(
50 base::TerminationStatus status) OVERRIDE; 50 base::TerminationStatus status) OVERRIDE;
51 51
52 // Overriden from InstantLoader::Delegate: 52 // Overriden from InstantLoader::Delegate:
53 virtual void OnSwappedContents() OVERRIDE; 53 virtual void OnSwappedContents() OVERRIDE;
54 virtual void OnFocus() OVERRIDE; 54 virtual void OnFocus() OVERRIDE;
55 virtual void OnMouseDown() OVERRIDE; 55 virtual void OnMouseDown() OVERRIDE;
56 virtual void OnMouseUp() OVERRIDE; 56 virtual void OnMouseUp() OVERRIDE;
57 virtual content::WebContents* OpenURLFromTab( 57 virtual content::WebContents* OpenURLFromTab(
58 content::WebContents* source, 58 content::WebContents* source,
59 const content::OpenURLParams& params) OVERRIDE; 59 const content::OpenURLParams& params) OVERRIDE;
60 virtual void LoadCompletedMainFrame() OVERRIDE; 60 virtual void LoadCompletedMainFrame() OVERRIDE;
61 61
62 InstantLoader loader_; 62 InstantLoader loader_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(InstantNTP); 64 DISALLOW_COPY_AND_ASSIGN(InstantNTP);
65 }; 65 };
66 66
67 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_ 67 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_extended_interactive_uitest.cc ('k') | chrome/browser/ui/search/instant_ntp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698