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

Side by Side Diff: chrome/browser/automation/automation_provider.cc

Issue 8549022: Define DevTools content API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DevToolsManager -> DevToolsManagerImpl, moved client to public Created 9 years, 1 month 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 | chrome/browser/browser_process.h » ('j') | content/browser/browser_main_loop.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/automation/automation_provider.h" 5 #include "chrome/browser/automation/automation_provider.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 #include "chrome/common/automation_constants.h" 71 #include "chrome/common/automation_constants.h"
72 #include "chrome/common/automation_messages.h" 72 #include "chrome/common/automation_messages.h"
73 #include "chrome/common/chrome_constants.h" 73 #include "chrome/common/chrome_constants.h"
74 #include "chrome/common/chrome_paths.h" 74 #include "chrome/common/chrome_paths.h"
75 #include "chrome/common/chrome_switches.h" 75 #include "chrome/common/chrome_switches.h"
76 #include "chrome/common/chrome_version_info.h" 76 #include "chrome/common/chrome_version_info.h"
77 #include "chrome/common/extensions/extension.h" 77 #include "chrome/common/extensions/extension.h"
78 #include "chrome/common/pref_names.h" 78 #include "chrome/common/pref_names.h"
79 #include "chrome/common/render_messages.h" 79 #include "chrome/common/render_messages.h"
80 #include "chrome/common/url_constants.h" 80 #include "chrome/common/url_constants.h"
81 #include "content/browser/debugger/devtools_manager.h"
82 #include "content/browser/download/download_item.h" 81 #include "content/browser/download/download_item.h"
83 #include "content/browser/download/save_package.h" 82 #include "content/browser/download/save_package.h"
84 #include "content/browser/renderer_host/render_view_host.h" 83 #include "content/browser/renderer_host/render_view_host.h"
85 #include "content/browser/ssl/ssl_manager.h" 84 #include "content/browser/ssl/ssl_manager.h"
86 #include "content/browser/tab_contents/navigation_entry.h" 85 #include "content/browser/tab_contents/navigation_entry.h"
87 #include "content/browser/tab_contents/tab_contents.h" 86 #include "content/browser/tab_contents/tab_contents.h"
88 #include "content/browser/tab_contents/tab_contents_view.h" 87 #include "content/browser/tab_contents/tab_contents_view.h"
89 #include "content/public/browser/browser_thread.h" 88 #include "content/public/browser/browser_thread.h"
90 #include "net/proxy/proxy_config_service_fixed.h" 89 #include "net/proxy/proxy_config_service_fixed.h"
91 #include "net/proxy/proxy_service.h" 90 #include "net/proxy/proxy_service.h"
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 } 1018 }
1020 } 1019 }
1021 } 1020 }
1022 1021
1023 void AutomationProvider::SaveAsAsync(int tab_handle) { 1022 void AutomationProvider::SaveAsAsync(int tab_handle) {
1024 NavigationController* tab = NULL; 1023 NavigationController* tab = NULL;
1025 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab); 1024 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab);
1026 if (tab_contents) 1025 if (tab_contents)
1027 tab_contents->OnSavePage(); 1026 tab_contents->OnSavePage();
1028 } 1027 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process.h » ('j') | content/browser/browser_main_loop.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698