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

Side by Side Diff: content/browser/mock_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_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void ShowDesktopNotification( 124 virtual void ShowDesktopNotification(
125 const content::ShowDesktopNotificationHostMsgParams& params, 125 const content::ShowDesktopNotificationHostMsgParams& params,
126 int render_process_id, 126 int render_process_id,
127 int render_view_id, 127 int render_view_id,
128 bool worker) OVERRIDE; 128 bool worker) OVERRIDE;
129 virtual void CancelDesktopNotification( 129 virtual void CancelDesktopNotification(
130 int render_process_id, 130 int render_process_id,
131 int render_view_id, 131 int render_view_id,
132 int notification_id) OVERRIDE; 132 int notification_id) OVERRIDE;
133 virtual bool CanCreateWindow( 133 virtual bool CanCreateWindow(
134 const GURL& opener_url,
134 const GURL& source_origin, 135 const GURL& source_origin,
135 WindowContainerType container_type, 136 WindowContainerType container_type,
136 ResourceContext* context, 137 ResourceContext* context,
137 int render_process_id) OVERRIDE; 138 int render_process_id) OVERRIDE;
138 virtual std::string GetWorkerProcessTitle(const GURL& url, 139 virtual std::string GetWorkerProcessTitle(const GURL& url,
139 ResourceContext* context) OVERRIDE; 140 ResourceContext* context) OVERRIDE;
140 virtual void ResourceDispatcherHostCreated() OVERRIDE; 141 virtual void ResourceDispatcherHostCreated() OVERRIDE;
141 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; 142 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE;
142 virtual ui::Clipboard* GetClipboard() OVERRIDE; 143 virtual ui::Clipboard* GetClipboard() OVERRIDE;
143 virtual net::NetLog* GetNetLog() OVERRIDE; 144 virtual net::NetLog* GetNetLog() OVERRIDE;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 private: 176 private:
176 // Temporary directory for GetDefaultDownloadDirectory. 177 // Temporary directory for GetDefaultDownloadDirectory.
177 ScopedTempDir download_dir_; 178 ScopedTempDir download_dir_;
178 179
179 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); 180 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient);
180 }; 181 };
181 182
182 } // namespace content 183 } // namespace content
183 184
184 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 185 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698