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

Side by Side Diff: chrome/browser/ui/search/instant_page.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_PAGE_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 public: 45 public:
46 // Called when a RenderView is created, so that state can be initialized. 46 // Called when a RenderView is created, so that state can be initialized.
47 virtual void InstantPageRenderViewCreated( 47 virtual void InstantPageRenderViewCreated(
48 const content::WebContents* contents) = 0; 48 const content::WebContents* contents) = 0;
49 49
50 // Called upon determination of Instant API support. Either in response to 50 // Called upon determination of Instant API support. Either in response to
51 // the page loading or because we received some other message. 51 // the page loading or because we received some other message.
52 virtual void InstantSupportDetermined(const content::WebContents* contents, 52 virtual void InstantSupportDetermined(const content::WebContents* contents,
53 bool supports_instant) = 0; 53 bool supports_instant) = 0;
54 54
55 // Called when the underlying RenderView crashed. 55 // Called when the underlying RenderView's process crashed.
56 virtual void InstantPageRenderViewGone( 56 virtual void InstantPageRenderProcessGone(
57 const content::WebContents* contents) = 0; 57 const content::WebContents* contents) = 0;
58 58
59 // Called when the page is about to navigate to |url|. 59 // Called when the page is about to navigate to |url|.
60 virtual void InstantPageAboutToNavigateMainFrame( 60 virtual void InstantPageAboutToNavigateMainFrame(
61 const content::WebContents* contents, 61 const content::WebContents* contents,
62 const GURL& url) = 0; 62 const GURL& url) = 0;
63 63
64 // Called when the page wants the omnibox to be focused. |state| specifies 64 // Called when the page wants the omnibox to be focused. |state| specifies
65 // the omnibox focus state. 65 // the omnibox focus state.
66 virtual void FocusOmnibox(const content::WebContents* contents, 66 virtual void FocusOmnibox(const content::WebContents* contents,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 Delegate* const delegate_; 194 Delegate* const delegate_;
195 scoped_ptr<InstantIPCSender> ipc_sender_; 195 scoped_ptr<InstantIPCSender> ipc_sender_;
196 const std::string instant_url_; 196 const std::string instant_url_;
197 const bool is_incognito_; 197 const bool is_incognito_;
198 198
199 DISALLOW_COPY_AND_ASSIGN(InstantPage); 199 DISALLOW_COPY_AND_ASSIGN(InstantPage);
200 }; 200 };
201 201
202 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ 202 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_ntp.cc ('k') | chrome/browser/ui/search/instant_page_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698