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

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

Issue 10913035: Add context popup menu support for content shell[GTK]. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix the Mac build Created 8 years, 3 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 | « content/content_shell.gypi ('k') | 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 14 matching lines...) Expand all
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 ResourceDispatcherHostCreated() OVERRIDE; 32 virtual void ResourceDispatcherHostCreated() OVERRIDE;
33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
34 virtual std::string GetDefaultDownloadName() OVERRIDE; 34 virtual std::string GetDefaultDownloadName() OVERRIDE;
35 virtual WebContentsViewDelegate* GetWebContentsViewDelegate(
36 WebContents* web_contents) OVERRIDE;
35 37
36 #if defined(OS_ANDROID) 38 #if defined(OS_ANDROID)
37 virtual void GetAdditionalMappedFilesForChildProcess( 39 virtual void GetAdditionalMappedFilesForChildProcess(
38 const CommandLine& command_line, 40 const CommandLine& command_line,
39 base::GlobalDescriptors::Mapping* mappings) OVERRIDE; 41 base::GlobalDescriptors::Mapping* mappings) OVERRIDE;
40 #endif 42 #endif
41 43
42 ShellBrowserContext* browser_context(); 44 ShellBrowserContext* browser_context();
43 ShellBrowserContext* off_the_record_browser_context(); 45 ShellBrowserContext* off_the_record_browser_context();
44 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { 46 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() {
45 return resource_dispatcher_host_delegate_.get(); 47 return resource_dispatcher_host_delegate_.get();
46 } 48 }
47 ShellBrowserMainParts* shell_browser_main_parts() { 49 ShellBrowserMainParts* shell_browser_main_parts() {
48 return shell_browser_main_parts_; 50 return shell_browser_main_parts_;
49 } 51 }
50 52
51 private: 53 private:
52 scoped_ptr<ShellResourceDispatcherHostDelegate> 54 scoped_ptr<ShellResourceDispatcherHostDelegate>
53 resource_dispatcher_host_delegate_; 55 resource_dispatcher_host_delegate_;
54 56
55 ShellBrowserMainParts* shell_browser_main_parts_; 57 ShellBrowserMainParts* shell_browser_main_parts_;
56 }; 58 };
57 59
58 } // namespace content 60 } // namespace content
59 61
60 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 62 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698