| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/automation/automation_provider_observers.h" | 5 #include "chrome/browser/automation/automation_provider_observers.h" |
| 6 | 6 |
| 7 #include <deque> | 7 #include <deque> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "chrome/browser/sessions/tab_restore_service.h" | 46 #include "chrome/browser/sessions/tab_restore_service.h" |
| 47 #include "chrome/browser/tab_contents/navigation_controller.h" | 47 #include "chrome/browser/tab_contents/navigation_controller.h" |
| 48 #include "chrome/browser/tab_contents/tab_contents.h" | 48 #include "chrome/browser/tab_contents/tab_contents.h" |
| 49 #include "chrome/browser/tab_contents/thumbnail_generator.h" | 49 #include "chrome/browser/tab_contents/thumbnail_generator.h" |
| 50 #include "chrome/browser/translate/page_translated_details.h" | 50 #include "chrome/browser/translate/page_translated_details.h" |
| 51 #include "chrome/browser/translate/translate_infobar_delegate.h" | 51 #include "chrome/browser/translate/translate_infobar_delegate.h" |
| 52 #include "chrome/browser/ui/browser.h" | 52 #include "chrome/browser/ui/browser.h" |
| 53 #include "chrome/browser/ui/find_bar/find_notification_details.h" | 53 #include "chrome/browser/ui/find_bar/find_notification_details.h" |
| 54 #include "chrome/browser/ui/login/login_prompt.h" | 54 #include "chrome/browser/ui/login/login_prompt.h" |
| 55 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 55 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 56 #include "chrome/common/automation_constants.h" | 56 #include "chrome/common/automation_messages.h" |
| 57 #include "chrome/common/extensions/extension.h" | 57 #include "chrome/common/extensions/extension.h" |
| 58 #include "chrome/common/notification_service.h" | 58 #include "chrome/common/notification_service.h" |
| 59 #include "googleurl/src/gurl.h" | 59 #include "googleurl/src/gurl.h" |
| 60 #include "ui/gfx/codec/png_codec.h" | 60 #include "ui/gfx/codec/png_codec.h" |
| 61 #include "ui/gfx/rect.h" | 61 #include "ui/gfx/rect.h" |
| 62 | 62 |
| 63 #if defined(OS_CHROMEOS) | 63 #if defined(OS_CHROMEOS) |
| 64 #include "chrome/browser/chromeos/login/authentication_notification_details.h" | 64 #include "chrome/browser/chromeos/login/authentication_notification_details.h" |
| 65 #endif | 65 #endif |
| 66 | 66 |
| (...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1747 BrowserThread::PROCESS_LAUNCHER, FROM_HERE, | 1747 BrowserThread::PROCESS_LAUNCHER, FROM_HERE, |
| 1748 NewRunnableMethod( | 1748 NewRunnableMethod( |
| 1749 this, | 1749 this, |
| 1750 &WaitForProcessLauncherThreadToGoIdleObserver::RunOnUIThread)); | 1750 &WaitForProcessLauncherThreadToGoIdleObserver::RunOnUIThread)); |
| 1751 } | 1751 } |
| 1752 | 1752 |
| 1753 void WaitForProcessLauncherThreadToGoIdleObserver::RunOnUIThread() { | 1753 void WaitForProcessLauncherThreadToGoIdleObserver::RunOnUIThread() { |
| 1754 automation_->Send(reply_message_); | 1754 automation_->Send(reply_message_); |
| 1755 Release(); | 1755 Release(); |
| 1756 } | 1756 } |
| OLD | NEW |