| Index: chrome/browser/automation/automation_provider_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/automation/automation_provider_gtk.cc (revision 40221)
|
| +++ chrome/browser/automation/automation_provider_gtk.cc (working copy)
|
| @@ -228,3 +228,10 @@
|
| *result = false;
|
| NOTIMPLEMENTED();
|
| }
|
| +
|
| +void AutomationProvider::GetWindowTitle(int handle, string16* text) {
|
| + gfx::NativeWindow window = window_tracker_->GetResource(handle);
|
| + const gchar* title = gtk_window_get_title(window);
|
| + text->assign(UTF8ToUTF16(title));
|
| +}
|
| +
|
|
|