| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/public/browser/content_browser_client.h" | 10 #include "content/public/browser/content_browser_client.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 const GURL& target_url, | 58 const GURL& target_url, |
| 59 const content::Referrer& referrer, | 59 const content::Referrer& referrer, |
| 60 WindowOpenDisposition disposition, | 60 WindowOpenDisposition disposition, |
| 61 const blink::WebWindowFeatures& features, | 61 const blink::WebWindowFeatures& features, |
| 62 bool user_gesture, | 62 bool user_gesture, |
| 63 bool opener_suppressed, | 63 bool opener_suppressed, |
| 64 content::ResourceContext* context, | 64 content::ResourceContext* context, |
| 65 int render_process_id, | 65 int render_process_id, |
| 66 int opener_id, | 66 int opener_id, |
| 67 bool* no_javascript_access) OVERRIDE; | 67 bool* no_javascript_access) OVERRIDE; |
| 68 virtual content::DevToolsManagerDelegate* |
| 69 GetDevToolsManagerDelegate() OVERRIDE; |
| 68 virtual void GetAdditionalMappedFilesForChildProcess( | 70 virtual void GetAdditionalMappedFilesForChildProcess( |
| 69 const base::CommandLine& command_line, | 71 const base::CommandLine& command_line, |
| 70 int child_process_id, | 72 int child_process_id, |
| 71 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 73 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
| 72 | 74 |
| 73 private: | 75 private: |
| 74 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 76 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
| 75 | 77 |
| 76 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 78 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 77 }; | 79 }; |
| 78 | 80 |
| 79 } // namespace shell | 81 } // namespace shell |
| 80 } // namespace chromecast | 82 } // namespace chromecast |
| 81 | 83 |
| 82 #endif // CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 84 #endif // CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |