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

Side by Side Diff: chrome/browser/chrome_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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.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) 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 virtual void ShowDesktopNotification( 129 virtual void ShowDesktopNotification(
130 const content::ShowDesktopNotificationHostMsgParams& params, 130 const content::ShowDesktopNotificationHostMsgParams& params,
131 int render_process_id, 131 int render_process_id,
132 int render_view_id, 132 int render_view_id,
133 bool worker) OVERRIDE; 133 bool worker) OVERRIDE;
134 virtual void CancelDesktopNotification( 134 virtual void CancelDesktopNotification(
135 int render_process_id, 135 int render_process_id,
136 int render_view_id, 136 int render_view_id,
137 int notification_id) OVERRIDE; 137 int notification_id) OVERRIDE;
138 virtual bool CanCreateWindow( 138 virtual bool CanCreateWindow(
139 const GURL& opener_url,
139 const GURL& source_origin, 140 const GURL& source_origin,
140 WindowContainerType container_type, 141 WindowContainerType container_type,
141 content::ResourceContext* context, 142 content::ResourceContext* context,
142 int render_process_id) OVERRIDE; 143 int render_process_id) OVERRIDE;
143 virtual std::string GetWorkerProcessTitle( 144 virtual std::string GetWorkerProcessTitle(
144 const GURL& url, content::ResourceContext* context) OVERRIDE; 145 const GURL& url, content::ResourceContext* context) OVERRIDE;
145 virtual void ResourceDispatcherHostCreated() OVERRIDE; 146 virtual void ResourceDispatcherHostCreated() OVERRIDE;
146 virtual content::SpeechInputManagerDelegate* 147 virtual content::SpeechInputManagerDelegate*
147 GetSpeechInputManagerDelegate() OVERRIDE; 148 GetSpeechInputManagerDelegate() OVERRIDE;
148 virtual ui::Clipboard* GetClipboard() OVERRIDE; 149 virtual ui::Clipboard* GetClipboard() OVERRIDE;
(...skipping 30 matching lines...) Expand all
179 private: 180 private:
180 // Set of origins that can use TCP/UDP private APIs from NaCl. 181 // Set of origins that can use TCP/UDP private APIs from NaCl.
181 std::set<std::string> allowed_socket_origins_; 182 std::set<std::string> allowed_socket_origins_;
182 183
183 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 184 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
184 }; 185 };
185 186
186 } // namespace chrome 187 } // namespace chrome
187 188
188 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 189 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698