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

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

Issue 10837177: Add a menu item to content_shell to open devtools to make it more discoverable. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix android compile, and add gtk support Created 8 years, 4 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
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 26 matching lines...) Expand all
37 virtual void GetAdditionalMappedFilesForChildProcess( 37 virtual void GetAdditionalMappedFilesForChildProcess(
38 const CommandLine& command_line, 38 const CommandLine& command_line,
39 base::GlobalDescriptors::Mapping* mappings) OVERRIDE; 39 base::GlobalDescriptors::Mapping* mappings) OVERRIDE;
40 #endif 40 #endif
41 41
42 ShellBrowserContext* browser_context(); 42 ShellBrowserContext* browser_context();
43 ShellBrowserContext* off_the_record_browser_context(); 43 ShellBrowserContext* off_the_record_browser_context();
44 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { 44 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() {
45 return resource_dispatcher_host_delegate_.get(); 45 return resource_dispatcher_host_delegate_.get();
46 } 46 }
47 ShellBrowserMainParts* shell_browser_main_parts() {
48 return shell_browser_main_parts_;
49 }
47 50
48 private: 51 private:
49 scoped_ptr<ShellResourceDispatcherHostDelegate> 52 scoped_ptr<ShellResourceDispatcherHostDelegate>
50 resource_dispatcher_host_delegate_; 53 resource_dispatcher_host_delegate_;
51 54
52 ShellBrowserMainParts* shell_browser_main_parts_; 55 ShellBrowserMainParts* shell_browser_main_parts_;
53 }; 56 };
54 57
55 } // namespace content 58 } // namespace content
56 59
57 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 60 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698