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

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

Issue 257056: Resubmit http://codereview.chromium.org/243096 with gcc compile error (Closed)
Patch Set: testing 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('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 (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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual void ProcessDOMUIMessage(const std::string& message, 105 virtual void ProcessDOMUIMessage(const std::string& message,
106 const std::string& content, 106 const std::string& 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 virtual void Close(RenderViewHost* render_view_host);
115 116
116 // RenderViewHostDelegate::View 117 // RenderViewHostDelegate::View
117 virtual void CreateNewWindow(int route_id); 118 virtual void CreateNewWindow(int route_id);
118 virtual void CreateNewWidget(int route_id, bool activatable); 119 virtual void CreateNewWidget(int route_id, bool activatable);
119 virtual void ShowCreatedWindow(int route_id, 120 virtual void ShowCreatedWindow(int route_id,
120 WindowOpenDisposition disposition, 121 WindowOpenDisposition disposition,
121 const gfx::Rect& initial_pos, 122 const gfx::Rect& initial_pos,
122 bool user_gesture, 123 bool user_gesture,
123 const GURL& creator_url); 124 const GURL& creator_url);
124 virtual void ShowCreatedWidget(int route_id, 125 virtual void ShowCreatedWidget(int route_id,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 197 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
197 198
198 // Only EXTENSION_TOOLSTRIP and EXTENSION_BACKGROUND_PAGE are used here, 199 // Only EXTENSION_TOOLSTRIP and EXTENSION_BACKGROUND_PAGE are used here,
199 // others are not hostd by ExtensionHost. 200 // others are not hostd by ExtensionHost.
200 ViewType::Type extension_host_type_; 201 ViewType::Type extension_host_type_;
201 202
202 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 203 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
203 }; 204 };
204 205
205 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 206 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698