OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "temp_scaffolding_stubs.h" | 5 #include "temp_scaffolding_stubs.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/thread.h" | 13 #include "base/thread.h" |
14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
15 #include "base/string_piece.h" | 15 #include "base/string_piece.h" |
16 #include "base/singleton.h" | 16 #include "base/singleton.h" |
17 #include "base/task.h" | 17 #include "base/task.h" |
18 #include "chrome/browser/autocomplete/history_url_provider.h" | 18 #include "chrome/browser/autocomplete/history_url_provider.h" |
| 19 #include "chrome/browser/automation/automation_provider.h" |
19 #include "chrome/browser/browser.h" | 20 #include "chrome/browser/browser.h" |
20 #include "chrome/browser/browser_shutdown.h" | 21 #include "chrome/browser/browser_shutdown.h" |
21 #include "chrome/browser/cache_manager_host.h" | 22 #include "chrome/browser/cache_manager_host.h" |
22 #include "chrome/browser/debugger/debugger_shell.h" | 23 #include "chrome/browser/debugger/debugger_shell.h" |
23 #include "chrome/browser/dom_ui/dom_ui.h" | 24 #include "chrome/browser/dom_ui/dom_ui.h" |
24 #include "chrome/browser/download/download_request_dialog_delegate.h" | 25 #include "chrome/browser/download/download_request_dialog_delegate.h" |
25 #include "chrome/browser/download/download_request_manager.h" | 26 #include "chrome/browser/download/download_request_manager.h" |
26 #include "chrome/browser/first_run.h" | 27 #include "chrome/browser/first_run.h" |
27 #include "chrome/browser/history/in_memory_history_backend.h" | 28 #include "chrome/browser/history/in_memory_history_backend.h" |
28 #include "chrome/browser/memory_details.h" | 29 #include "chrome/browser/memory_details.h" |
(...skipping 11 matching lines...) Expand all Loading... |
40 #include "chrome/common/gfx/text_elider.h" | 41 #include "chrome/common/gfx/text_elider.h" |
41 #include "chrome/common/notification_service.h" | 42 #include "chrome/common/notification_service.h" |
42 #include "chrome/common/pref_service.h" | 43 #include "chrome/common/pref_service.h" |
43 #include "chrome/common/process_watcher.h" | 44 #include "chrome/common/process_watcher.h" |
44 #include "net/url_request/url_request_context.h" | 45 #include "net/url_request/url_request_context.h" |
45 #include "webkit/glue/webcursor.h" | 46 #include "webkit/glue/webcursor.h" |
46 #include "webkit/glue/webkit_glue.h" | 47 #include "webkit/glue/webkit_glue.h" |
47 | 48 |
48 //-------------------------------------------------------------------------- | 49 //-------------------------------------------------------------------------- |
49 | 50 |
| 51 WebContents* AutomationProvider::GetWebContentsForHandle( |
| 52 int handle, NavigationController** tab) { |
| 53 NOTIMPLEMENTED(); |
| 54 return NULL; |
| 55 } |
| 56 |
| 57 void AutomationProvider::GetActiveWindow(int* handle) { NOTIMPLEMENTED(); } |
| 58 |
| 59 void AutomationProvider::IsWindowActive(int handle, bool* success, |
| 60 bool* is_active) { |
| 61 *success = false; |
| 62 NOTIMPLEMENTED(); |
| 63 } |
| 64 |
| 65 void AutomationProvider::ActivateWindow(int handle) { NOTIMPLEMENTED(); } |
| 66 |
| 67 void AutomationProvider::SetWindowVisible(int handle, bool visible, |
| 68 bool* result) { NOTIMPLEMENTED(); } |
| 69 |
| 70 void AutomationProvider::GetFocusedViewID(int handle, int* view_id) { |
| 71 NOTIMPLEMENTED(); |
| 72 } |
| 73 |
| 74 void AutomationProvider::OpenNewBrowserWindow(int show_command) { |
| 75 NOTIMPLEMENTED(); |
| 76 } |
| 77 |
| 78 void AutomationProvider::GetWindowForBrowser(int browser_handle, |
| 79 bool* success, |
| 80 int* handle) { |
| 81 *success = false; |
| 82 NOTIMPLEMENTED(); |
| 83 } |
| 84 |
| 85 void AutomationProvider::GetAutocompleteEditForBrowser( |
| 86 int browser_handle, |
| 87 bool* success, |
| 88 int* autocomplete_edit_handle) { |
| 89 *success = false; |
| 90 NOTIMPLEMENTED(); |
| 91 } |
| 92 |
| 93 void AutomationProvider::GetBrowserForWindow(int window_handle, |
| 94 bool* success, |
| 95 int* browser_handle) { |
| 96 *success = false; |
| 97 NOTIMPLEMENTED(); |
| 98 } |
| 99 |
| 100 void AutomationProvider::GetSecurityState(int handle, bool* success, |
| 101 SecurityStyle* security_style, |
| 102 int* ssl_cert_status, |
| 103 int* mixed_content_status) { |
| 104 *success = false; |
| 105 NOTIMPLEMENTED(); |
| 106 } |
| 107 |
| 108 void AutomationProvider::GetPageType(int handle, bool* success, |
| 109 NavigationEntry::PageType* page_type) { |
| 110 *success = false; |
| 111 NOTIMPLEMENTED(); |
| 112 } |
| 113 |
| 114 void AutomationProvider::ActionOnSSLBlockingPage(int handle, bool proceed, |
| 115 IPC::Message* reply_message) { |
| 116 NOTIMPLEMENTED(); |
| 117 } |
| 118 |
| 119 void AutomationProvider::PrintNow(int tab_handle, |
| 120 IPC::Message* reply_message) { |
| 121 NOTIMPLEMENTED(); |
| 122 } |
| 123 |
| 124 void AutomationProvider::SavePage(int tab_handle, |
| 125 const std::wstring& file_name, |
| 126 const std::wstring& dir_path, |
| 127 int type, |
| 128 bool* success) { |
| 129 *success = false; |
| 130 NOTIMPLEMENTED(); |
| 131 } |
| 132 |
| 133 void AutomationProvider::GetAutocompleteEditText(int autocomplete_edit_handle, |
| 134 bool* success, |
| 135 std::wstring* text) { |
| 136 *success = false; |
| 137 NOTIMPLEMENTED(); |
| 138 } |
| 139 |
| 140 void AutomationProvider::SetAutocompleteEditText(int autocomplete_edit_handle, |
| 141 const std::wstring& text, |
| 142 bool* success) { |
| 143 *success = false; |
| 144 NOTIMPLEMENTED(); |
| 145 } |
| 146 |
| 147 void AutomationProvider::AutocompleteEditGetMatches( |
| 148 int autocomplete_edit_handle, |
| 149 bool* success, |
| 150 std::vector<AutocompleteMatchData>* matches) { |
| 151 *success = false; |
| 152 NOTIMPLEMENTED(); |
| 153 } |
| 154 |
| 155 void AutomationProvider::AutocompleteEditIsQueryInProgress( |
| 156 int autocomplete_edit_handle, |
| 157 bool* success, |
| 158 bool* query_in_progress) { |
| 159 *success = false; |
| 160 NOTIMPLEMENTED(); |
| 161 } |
| 162 |
| 163 void AutomationProvider::OnMessageFromExternalHost( |
| 164 int handle, const std::string& target, const std::string& message) { |
| 165 NOTIMPLEMENTED(); |
| 166 } |
| 167 |
| 168 void AutomationProvider::GetShowingAppModalDialog(bool* showing_dialog, |
| 169 int* dialog_button) { |
| 170 NOTIMPLEMENTED(); |
| 171 } |
| 172 |
| 173 void AutomationProvider::ClickAppModalDialogButton(int button, bool* success) { |
| 174 *success = false; |
| 175 NOTIMPLEMENTED(); |
| 176 } |
| 177 |
| 178 //-------------------------------------------------------------------------- |
| 179 |
50 bool ShellIntegration::SetAsDefaultBrowser() { | 180 bool ShellIntegration::SetAsDefaultBrowser() { |
51 NOTIMPLEMENTED(); | 181 NOTIMPLEMENTED(); |
52 return true; | 182 return true; |
53 } | 183 } |
54 | 184 |
55 bool ShellIntegration::IsDefaultBrowser() { | 185 bool ShellIntegration::IsDefaultBrowser() { |
56 NOTIMPLEMENTED(); | 186 NOTIMPLEMENTED(); |
57 return true; | 187 return true; |
58 } | 188 } |
59 | 189 |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 NOTIMPLEMENTED(); | 473 NOTIMPLEMENTED(); |
344 return NULL; | 474 return NULL; |
345 } | 475 } |
346 | 476 |
347 views::Window* CreateInputWindow(gfx::NativeWindow parent_hwnd, | 477 views::Window* CreateInputWindow(gfx::NativeWindow parent_hwnd, |
348 InputWindowDelegate* delegate) { | 478 InputWindowDelegate* delegate) { |
349 NOTIMPLEMENTED(); | 479 NOTIMPLEMENTED(); |
350 return new views::Window(); | 480 return new views::Window(); |
351 } | 481 } |
352 | 482 |
OLD | NEW |