| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/common/temp_scaffolding_stubs.h" | |
| 6 | |
| 7 #include <vector> | |
| 8 | |
| 9 #include "base/gfx/rect.h" | |
| 10 #include "base/logging.h" | |
| 11 #include "chrome/browser/automation/automation_provider.h" | |
| 12 #include "chrome/browser/browser_list.h" | |
| 13 #include "chrome/browser/fonts_languages_window.h" | |
| 14 #include "chrome/browser/memory_details.h" | |
| 15 | |
| 16 //-------------------------------------------------------------------------- | |
| 17 | |
| 18 void AutomationProvider::GetAutocompleteEditForBrowser( | |
| 19 int browser_handle, | |
| 20 bool* success, | |
| 21 int* autocomplete_edit_handle) { | |
| 22 *success = false; | |
| 23 NOTIMPLEMENTED(); | |
| 24 } | |
| 25 | |
| 26 void AutomationProvider::GetAutocompleteEditText(int autocomplete_edit_handle, | |
| 27 bool* success, | |
| 28 std::wstring* text) { | |
| 29 *success = false; | |
| 30 NOTIMPLEMENTED(); | |
| 31 } | |
| 32 | |
| 33 void AutomationProvider::SetAutocompleteEditText(int autocomplete_edit_handle, | |
| 34 const std::wstring& text, | |
| 35 bool* success) { | |
| 36 *success = false; | |
| 37 NOTIMPLEMENTED(); | |
| 38 } | |
| 39 | |
| 40 void AutomationProvider::AutocompleteEditGetMatches( | |
| 41 int autocomplete_edit_handle, | |
| 42 bool* success, | |
| 43 std::vector<AutocompleteMatchData>* matches) { | |
| 44 *success = false; | |
| 45 NOTIMPLEMENTED(); | |
| 46 } | |
| 47 | |
| 48 void AutomationProvider::AutocompleteEditIsQueryInProgress( | |
| 49 int autocomplete_edit_handle, | |
| 50 bool* success, | |
| 51 bool* query_in_progress) { | |
| 52 *success = false; | |
| 53 NOTIMPLEMENTED(); | |
| 54 } | |
| 55 | |
| 56 void AutomationProvider::OnMessageFromExternalHost( | |
| 57 int handle, const std::string& message, const std::string& origin, | |
| 58 const std::string& target) { | |
| 59 NOTIMPLEMENTED(); | |
| 60 } | |
| 61 | |
| 62 void InstallJankometer(const CommandLine&) { | |
| 63 // http://code.google.com/p/chromium/issues/detail?id=8077 | |
| 64 } | |
| 65 | |
| 66 void UninstallJankometer() { | |
| 67 // http://code.google.com/p/chromium/issues/detail?id=8077 | |
| 68 } | |
| 69 | |
| 70 void BrowserList::AllBrowsersClosed() { | |
| 71 // TODO(port): Close any dependent windows if necessary when the last browser | |
| 72 // window is closed. | |
| 73 } | |
| 74 | |
| 75 //-------------------------------------------------------------------------- | |
| 76 | |
| 77 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds, | |
| 78 bool* maximize_new_window) const { | |
| 79 // TODO(pinkerton): Implement on Mac. | |
| 80 // http://crbug.com/9274 | |
| 81 return true; | |
| 82 } | |
| 83 | |
| 84 void DockInfo::AdjustOtherWindowBounds() const { | |
| 85 // TODO(pinkerton): Implement on Mac. | |
| 86 // http://crbug.com/9274 | |
| 87 } | |
| 88 | |
| 89 //------------------------------------------------------------------------------ | |
| 90 | |
| 91 void ShowFontsLanguagesWindow(gfx::NativeWindow window, | |
| 92 FontsLanguagesPage page, | |
| 93 Profile* profile) { | |
| 94 NOTIMPLEMENTED(); | |
| 95 } | |
| OLD | NEW |