From 63514afa2ee674c9edf20f5f78acda206708f721 Mon Sep 17 00:00:00 2001 From: "nirnimesh@chromium.org" Date: Tue, 30 Mar 2010 17:17:23 +0000 Subject: Port some omnibox provider methods to Mac. Well, I didn't really port. I just uncommented out some methods marked UNIMPLEMENTED(). They seem to work just fine. TEST=ui_tests --gtest_filter=OmniboxTest.* --run_omnibox_test Review URL: http://codereview.chromium.org/1513003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43094 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/automation/automation_provider.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'chrome/browser/automation/automation_provider.cc') diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index 9fb9c9d..0c264a28 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -1638,7 +1638,6 @@ void AutomationProvider::GetWindowForBrowser(int browser_handle, } } -#if !defined(OS_MACOSX) void AutomationProvider::GetAutocompleteEditForBrowser( int browser_handle, bool* success, @@ -1655,7 +1654,6 @@ void AutomationProvider::GetAutocompleteEditForBrowser( *success = true; } } -#endif // !defined(OS_MACOSX) void AutomationProvider::ShowInterstitialPage(int tab_handle, const std::string& html_text, @@ -1901,8 +1899,6 @@ void AutomationProvider::SavePage(int tab_handle, *success = true; } -#if !defined(OS_MACOSX) -// TODO(port): Enable these. void AutomationProvider::GetAutocompleteEditText(int autocomplete_edit_handle, bool* success, std::wstring* text) { @@ -1953,6 +1949,7 @@ void AutomationProvider::AutocompleteEditIsQueryInProgress( } } +#if !defined(OS_MACOSX) void AutomationProvider::OnMessageFromExternalHost(int handle, const std::string& message, const std::string& origin, -- cgit v1.1