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

Side by Side Diff: content/shell/shell_content_browser_client.h

Issue 9609013: Use a hosted app's opener URL and not its origin to locate it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also fix content_shell Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 virtual void ShowDesktopNotification( 131 virtual void ShowDesktopNotification(
132 const content::ShowDesktopNotificationHostMsgParams& params, 132 const content::ShowDesktopNotificationHostMsgParams& params,
133 int render_process_id, 133 int render_process_id,
134 int render_view_id, 134 int render_view_id,
135 bool worker) OVERRIDE; 135 bool worker) OVERRIDE;
136 virtual void CancelDesktopNotification( 136 virtual void CancelDesktopNotification(
137 int render_process_id, 137 int render_process_id,
138 int render_view_id, 138 int render_view_id,
139 int notification_id) OVERRIDE; 139 int notification_id) OVERRIDE;
140 virtual bool CanCreateWindow( 140 virtual bool CanCreateWindow(
141 const GURL& opener_url,
141 const GURL& origin, 142 const GURL& origin,
142 WindowContainerType container_type, 143 WindowContainerType container_type,
143 content::ResourceContext* context, 144 content::ResourceContext* context,
144 int render_process_id) OVERRIDE; 145 int render_process_id) OVERRIDE;
145 virtual std::string GetWorkerProcessTitle( 146 virtual std::string GetWorkerProcessTitle(
146 const GURL& url, content::ResourceContext* context) OVERRIDE; 147 const GURL& url, content::ResourceContext* context) OVERRIDE;
147 virtual void ResourceDispatcherHostCreated() OVERRIDE; 148 virtual void ResourceDispatcherHostCreated() OVERRIDE;
148 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; 149 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE;
149 virtual ui::Clipboard* GetClipboard() OVERRIDE; 150 virtual ui::Clipboard* GetClipboard() OVERRIDE;
150 virtual net::NetLog* GetNetLog() OVERRIDE; 151 virtual net::NetLog* GetNetLog() OVERRIDE;
(...skipping 28 matching lines...) Expand all
179 const GURL& url) OVERRIDE; 180 const GURL& url) OVERRIDE;
180 #endif 181 #endif
181 182
182 private: 183 private:
183 ShellBrowserMainParts* shell_browser_main_parts_; 184 ShellBrowserMainParts* shell_browser_main_parts_;
184 }; 185 };
185 186
186 } // namespace content 187 } // namespace content
187 188
188 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 189 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698