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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 2821473002: Service CreateNewWindow on the UI thread with a new mojo interface (Closed)
Patch Set: associated with IPC channel Created 3 years, 8 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) 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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 const GURL& opener_top_level_frame_url, 509 const GURL& opener_top_level_frame_url,
510 const GURL& source_origin, 510 const GURL& source_origin,
511 content::mojom::WindowContainerType container_type, 511 content::mojom::WindowContainerType container_type,
512 const GURL& target_url, 512 const GURL& target_url,
513 const Referrer& referrer, 513 const Referrer& referrer,
514 const std::string& frame_name, 514 const std::string& frame_name,
515 WindowOpenDisposition disposition, 515 WindowOpenDisposition disposition,
516 const blink::mojom::WindowFeatures& features, 516 const blink::mojom::WindowFeatures& features,
517 bool user_gesture, 517 bool user_gesture,
518 bool opener_suppressed, 518 bool opener_suppressed,
519 ResourceContext* context,
520 bool* no_javascript_access); 519 bool* no_javascript_access);
521 520
522 // Notifies the embedder that the ResourceDispatcherHost has been created. 521 // Notifies the embedder that the ResourceDispatcherHost has been created.
523 // This is when it can optionally add a delegate. 522 // This is when it can optionally add a delegate.
524 virtual void ResourceDispatcherHostCreated() {} 523 virtual void ResourceDispatcherHostCreated() {}
525 524
526 // Allows the embedder to return a delegate for the SpeechRecognitionManager. 525 // Allows the embedder to return a delegate for the SpeechRecognitionManager.
527 // The delegate will be owned by the manager. It's valid to return nullptr. 526 // The delegate will be owned by the manager. It's valid to return nullptr.
528 virtual SpeechRecognitionManagerDelegate* 527 virtual SpeechRecognitionManagerDelegate*
529 CreateSpeechRecognitionManagerDelegate(); 528 CreateSpeechRecognitionManagerDelegate();
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 virtual bool ShouldRedirectDOMStorageTaskRunner(); 826 virtual bool ShouldRedirectDOMStorageTaskRunner();
828 827
829 // If this returns true, all BrowserThreads (but UI/IO) that support it on 828 // If this returns true, all BrowserThreads (but UI/IO) that support it on
830 // this platform will experimentally be redirected to TaskScheduler. 829 // this platform will experimentally be redirected to TaskScheduler.
831 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); 830 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
832 }; 831 };
833 832
834 } // namespace content 833 } // namespace content
835 834
836 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 835 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698