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

Side by Side Diff: chrome/browser/prerender/prerender_render_view_host_observer.h

Issue 6915019: Changes to not use the prerendered contents when window.opener needs to be set. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Synced for Commit. Created 9 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_
7 7
8 #include "content/browser/renderer_host/render_view_host_observer.h" 8 #include "content/browser/renderer_host/render_view_host_observer.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void OnJSOutOfMemory(); 42 void OnJSOutOfMemory();
43 void OnRunJavaScriptMessage(const std::wstring& message, 43 void OnRunJavaScriptMessage(const std::wstring& message,
44 const std::wstring& default_prompt, 44 const std::wstring& default_prompt,
45 const GURL& frame_url, 45 const GURL& frame_url,
46 const int flags, 46 const int flags,
47 bool* did_suppress_message, 47 bool* did_suppress_message,
48 std::wstring* prompt_field); 48 std::wstring* prompt_field);
49 void OnRenderViewGone(int status, int exit_code); 49 void OnRenderViewGone(int status, int exit_code);
50 void OnDidStartProvisionalLoadForFrame(int64 frame_id, 50 void OnDidStartProvisionalLoadForFrame(int64 frame_id,
51 bool is_main_frame, 51 bool is_main_frame,
52 bool has_opener_set,
52 const GURL& url); 53 const GURL& url);
53 void OnUpdateFaviconURL(int32 page_id, const std::vector<FaviconURL>& urls); 54 void OnUpdateFaviconURL(int32 page_id, const std::vector<FaviconURL>& urls);
54 void OnMaybeCancelPrerenderForHTML5Media(); 55 void OnMaybeCancelPrerenderForHTML5Media();
55 void OnCancelPrerenderForPrinting(); 56 void OnCancelPrerenderForPrinting();
56 57
57 // The associated prerender contents. 58 // The associated prerender contents.
58 PrerenderContents* prerender_contents_; 59 PrerenderContents* prerender_contents_;
59 }; 60 };
60 61
61 } 62 }
62 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ 63 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_observer.cc ('k') | chrome/browser/prerender/prerender_render_view_host_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698