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

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

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
« no previous file with comments | « chrome/browser/ui/search/instant_ntp.h ('k') | chrome/browser/ui/search/instant_page.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/ui/search/instant_ntp.h" 5 #include "chrome/browser/ui/search/instant_ntp.h"
6 6
7 #include "chrome/browser/ui/search/search_tab_helper.h" 7 #include "chrome/browser/ui/search/search_tab_helper.h"
8 #include "content/public/browser/navigation_entry.h" 8 #include "content/public/browser/navigation_entry.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 10
(...skipping 19 matching lines...) Expand all
30 30
31 scoped_ptr<content::WebContents> InstantNTP::ReleaseContents() { 31 scoped_ptr<content::WebContents> InstantNTP::ReleaseContents() {
32 SetContents(NULL); 32 SetContents(NULL);
33 return loader_.ReleaseContents(); 33 return loader_.ReleaseContents();
34 } 34 }
35 35
36 void InstantNTP::RenderViewCreated(content::RenderViewHost* render_view_host) { 36 void InstantNTP::RenderViewCreated(content::RenderViewHost* render_view_host) {
37 delegate()->InstantPageRenderViewCreated(contents()); 37 delegate()->InstantPageRenderViewCreated(contents());
38 } 38 }
39 39
40 void InstantNTP::RenderViewGone(base::TerminationStatus /* status */) { 40 void InstantNTP::RenderProcessGone(base::TerminationStatus /* status */) {
41 delegate()->InstantPageRenderViewGone(contents()); 41 delegate()->InstantPageRenderProcessGone(contents());
42 } 42 }
43 43
44 void InstantNTP::OnSwappedContents() { 44 void InstantNTP::OnSwappedContents() {
45 SetContents(loader_.contents()); 45 SetContents(loader_.contents());
46 } 46 }
47 47
48 void InstantNTP::OnFocus() { 48 void InstantNTP::OnFocus() {
49 NOTREACHED(); 49 NOTREACHED();
50 } 50 }
51 51
52 void InstantNTP::OnMouseDown() { 52 void InstantNTP::OnMouseDown() {
53 NOTREACHED(); 53 NOTREACHED();
54 } 54 }
55 55
56 void InstantNTP::OnMouseUp() { 56 void InstantNTP::OnMouseUp() {
57 NOTREACHED(); 57 NOTREACHED();
58 } 58 }
59 59
60 content::WebContents* InstantNTP::OpenURLFromTab( 60 content::WebContents* InstantNTP::OpenURLFromTab(
61 content::WebContents* source, 61 content::WebContents* source,
62 const content::OpenURLParams& params) { 62 const content::OpenURLParams& params) {
63 return NULL; 63 return NULL;
64 } 64 }
65 65
66 void InstantNTP::LoadCompletedMainFrame() { 66 void InstantNTP::LoadCompletedMainFrame() {
67 } 67 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_ntp.h ('k') | chrome/browser/ui/search/instant_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698