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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 2949053004: MD Settings: fix help/ redirection to only happen on chrome://help (Closed)
Patch Set: whoops Created 3 years, 6 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
« 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 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 media::mojom::RemoterRequest request) final; 321 media::mojom::RemoterRequest request) final;
322 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) 322 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING)
323 323
324 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams() 324 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams()
325 override; 325 override;
326 base::FilePath GetLoggingFileName() override; 326 base::FilePath GetLoggingFileName() override;
327 std::vector<std::unique_ptr<content::URLLoaderThrottle>> 327 std::vector<std::unique_ptr<content::URLLoaderThrottle>>
328 CreateURLLoaderThrottles( 328 CreateURLLoaderThrottles(
329 const base::Callback<content::WebContents*()>& wc_getter) override; 329 const base::Callback<content::WebContents*()>& wc_getter) override;
330 330
331 protected:
332 static bool HandleWebUI(GURL* url, content::BrowserContext* browser_context);
333 static bool HandleWebUIReverse(GURL* url,
334 content::BrowserContext* browser_context);
335
331 private: 336 private:
332 friend class DisableWebRtcEncryptionFlagTest; 337 friend class DisableWebRtcEncryptionFlagTest;
333 friend class InProcessBrowserTest; 338 friend class InProcessBrowserTest;
334 339
335 // Populate |frame_interfaces_|. 340 // Populate |frame_interfaces_|.
336 void InitFrameInterfaces(); 341 void InitFrameInterfaces();
337 342
338 #if BUILDFLAG(ENABLE_WEBRTC) 343 #if BUILDFLAG(ENABLE_WEBRTC)
339 // Copies disable WebRTC encryption switch depending on the channel. 344 // Copies disable WebRTC encryption switch depending on the channel.
340 static void MaybeCopyDisableWebRtcEncryptionSwitch( 345 static void MaybeCopyDisableWebRtcEncryptionSwitch(
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 std::unique_ptr< 396 std::unique_ptr<
392 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> 397 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>>
393 frame_interfaces_parameterized_; 398 frame_interfaces_parameterized_;
394 399
395 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 400 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
396 401
397 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 402 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
398 }; 403 };
399 404
400 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 405 #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