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

Side by Side Diff: content/shell/shell_content_browser_client.h

Issue 11147003: [content shell] Enable editing commands from javascript for tests and universal access from file ur… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | content/shell/shell_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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 11 matching lines...) Expand all
22 ShellContentBrowserClient(); 22 ShellContentBrowserClient();
23 virtual ~ShellContentBrowserClient(); 23 virtual ~ShellContentBrowserClient();
24 24
25 // ContentBrowserClient overrides. 25 // ContentBrowserClient overrides.
26 virtual BrowserMainParts* CreateBrowserMainParts( 26 virtual BrowserMainParts* CreateBrowserMainParts(
27 const MainFunctionParams& parameters) OVERRIDE; 27 const MainFunctionParams& parameters) OVERRIDE;
28 virtual void RenderViewHostCreated( 28 virtual void RenderViewHostCreated(
29 RenderViewHost* render_view_host) OVERRIDE; 29 RenderViewHost* render_view_host) OVERRIDE;
30 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 30 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
31 int child_process_id) OVERRIDE; 31 int child_process_id) OVERRIDE;
32 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host,
33 const GURL& url,
34 webkit_glue::WebPreferences* prefs) OVERRIDE;
32 virtual void ResourceDispatcherHostCreated() OVERRIDE; 35 virtual void ResourceDispatcherHostCreated() OVERRIDE;
33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 36 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
34 virtual std::string GetDefaultDownloadName() OVERRIDE; 37 virtual std::string GetDefaultDownloadName() OVERRIDE;
35 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( 38 virtual WebContentsViewDelegate* GetWebContentsViewDelegate(
36 WebContents* web_contents) OVERRIDE; 39 WebContents* web_contents) OVERRIDE;
37 40
38 #if defined(OS_ANDROID) 41 #if defined(OS_ANDROID)
39 virtual void GetAdditionalMappedFilesForChildProcess( 42 virtual void GetAdditionalMappedFilesForChildProcess(
40 const CommandLine& command_line, 43 const CommandLine& command_line,
41 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; 44 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE;
(...skipping 11 matching lines...) Expand all
53 private: 56 private:
54 scoped_ptr<ShellResourceDispatcherHostDelegate> 57 scoped_ptr<ShellResourceDispatcherHostDelegate>
55 resource_dispatcher_host_delegate_; 58 resource_dispatcher_host_delegate_;
56 59
57 ShellBrowserMainParts* shell_browser_main_parts_; 60 ShellBrowserMainParts* shell_browser_main_parts_;
58 }; 61 };
59 62
60 } // namespace content 63 } // namespace content
61 64
62 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 65 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698