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

Side by Side Diff: chrome/browser/extensions/extension_host.h

Issue 6319001: Support window.opener after a process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk. 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_EXTENSIONS_EXTENSION_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const ViewHostMsg_FrameNavigate_Params& params); 122 const ViewHostMsg_FrameNavigate_Params& params);
123 virtual void DidStopLoading(); 123 virtual void DidStopLoading();
124 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host); 124 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host);
125 virtual void DocumentOnLoadCompletedInMainFrame( 125 virtual void DocumentOnLoadCompletedInMainFrame(
126 RenderViewHost* render_view_host, 126 RenderViewHost* render_view_host,
127 int32 page_id); 127 int32 page_id);
128 128
129 // RenderViewHostDelegate implementation. 129 // RenderViewHostDelegate implementation.
130 virtual RenderViewHostDelegate::View* GetViewDelegate(); 130 virtual RenderViewHostDelegate::View* GetViewDelegate();
131 virtual WebPreferences GetWebkitPrefs(); 131 virtual WebPreferences GetWebkitPrefs();
132 virtual void RunJavaScriptMessage(const std::wstring& message, 132 virtual void RunJavaScriptMessage(const RenderViewHost* rvh,
133 const std::wstring& message,
133 const std::wstring& default_prompt, 134 const std::wstring& default_prompt,
134 const GURL& frame_url, 135 const GURL& frame_url,
135 const int flags, 136 const int flags,
136 IPC::Message* reply_msg, 137 IPC::Message* reply_msg,
137 bool* did_suppress_message); 138 bool* did_suppress_message);
138 virtual void Close(RenderViewHost* render_view_host); 139 virtual void Close(RenderViewHost* render_view_host);
139 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; 140 virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
140 141
141 // RenderViewHostDelegate::View 142 // RenderViewHostDelegate::View
142 virtual void CreateNewWindow( 143 virtual void CreateNewWindow(
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 // The time that the last javascript message was dismissed. 294 // The time that the last javascript message was dismissed.
294 base::TimeTicks last_javascript_message_dismissal_; 295 base::TimeTicks last_javascript_message_dismissal_;
295 296
296 // Whether to suppress all javascript messages. 297 // Whether to suppress all javascript messages.
297 bool suppress_javascript_messages_; 298 bool suppress_javascript_messages_;
298 299
299 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 300 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
300 }; 301 };
301 302
302 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 303 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/app_process_apitest.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698