| Index: chrome/browser/automation/automation_provider.cc
|
| ===================================================================
|
| --- chrome/browser/automation/automation_provider.cc (revision 25977)
|
| +++ chrome/browser/automation/automation_provider.cc (working copy)
|
| @@ -737,7 +737,7 @@
|
| *handle = browser_tracker_->Add(browser);
|
| }
|
|
|
| -#if defined(OS_LINUX)
|
| +#if defined(USE_X11)
|
| // TODO(estade): use this implementation for all platforms?
|
| void AutomationProvider::GetActiveWindow(int* handle) {
|
| gfx::NativeWindow window =
|
| @@ -822,7 +822,7 @@
|
| };
|
| #endif // defined(OS_WIN)
|
|
|
| -#if defined(OS_WIN) || defined(OS_LINUX)
|
| +#if defined(OS_WIN) || defined(USE_X11)
|
| void AutomationProvider::WindowSimulateClick(const IPC::Message& message,
|
| int handle,
|
| const gfx::Point& click,
|
| @@ -850,7 +850,7 @@
|
| ((flags & views::Event::EF_ALT_DOWN) ==
|
| views::Event::EF_ALT_DOWN));
|
| }
|
| -#endif // defined(OS_WIN) || defined(OS_LINUX)
|
| +#endif // defined(OS_WIN) || defined(USE_X11)
|
|
|
| void AutomationProvider::IsWindowActive(int handle, bool* success,
|
| bool* is_active) {
|
|
|