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

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

Issue 251093: Modify extension request IPC messages to pass a ListValue instead of a string. (Closed)
Patch Set: notreached messages Created 11 years, 2 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
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual ViewType::Type GetRenderViewType() const; 96 virtual ViewType::Type GetRenderViewType() const;
97 virtual int GetBrowserWindowID() const; 97 virtual int GetBrowserWindowID() const;
98 virtual void RenderViewGone(RenderViewHost* render_view_host); 98 virtual void RenderViewGone(RenderViewHost* render_view_host);
99 virtual void DidNavigate(RenderViewHost* render_view_host, 99 virtual void DidNavigate(RenderViewHost* render_view_host,
100 const ViewHostMsg_FrameNavigate_Params& params); 100 const ViewHostMsg_FrameNavigate_Params& params);
101 virtual void DidStopLoading(RenderViewHost* render_view_host); 101 virtual void DidStopLoading(RenderViewHost* render_view_host);
102 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host); 102 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host);
103 103
104 virtual WebPreferences GetWebkitPrefs(); 104 virtual WebPreferences GetWebkitPrefs();
105 virtual void ProcessDOMUIMessage(const std::string& message, 105 virtual void ProcessDOMUIMessage(const std::string& message,
106 const std::string& content, 106 const Value* content,
107 int request_id, 107 int request_id,
108 bool has_callback); 108 bool has_callback);
109 virtual void RunJavaScriptMessage(const std::wstring& message, 109 virtual void RunJavaScriptMessage(const std::wstring& message,
110 const std::wstring& default_prompt, 110 const std::wstring& default_prompt,
111 const GURL& frame_url, 111 const GURL& frame_url,
112 const int flags, 112 const int flags,
113 IPC::Message* reply_msg, 113 IPC::Message* reply_msg,
114 bool* did_suppress_message); 114 bool* did_suppress_message);
115 115
116 // RenderViewHostDelegate::View 116 // RenderViewHostDelegate::View
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 196 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
197 197
198 // Only EXTENSION_TOOLSTRIP and EXTENSION_BACKGROUND_PAGE are used here, 198 // Only EXTENSION_TOOLSTRIP and EXTENSION_BACKGROUND_PAGE are used here,
199 // others are not hostd by ExtensionHost. 199 // others are not hostd by ExtensionHost.
200 ViewType::Type extension_host_type_; 200 ViewType::Type extension_host_type_;
201 201
202 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 202 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
203 }; 203 };
204 204
205 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 205 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698