| OLD | NEW |
| 1 // Copyright (c) 2010 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/chrome_frame_automation_provider.h" | 5 #include "chrome/browser/automation/chrome_frame_automation_provider.h" |
| 6 #include "chrome/browser/profiles/profile.h" | 6 #include "chrome/browser/profiles/profile.h" |
| 7 #include "chrome/browser/profiles/profile_manager.h" | 7 #include "chrome/browser/profiles/profile_manager.h" |
| 8 #include "chrome/common/automation_messages.h" | 8 #include "chrome/common/automation_messages.h" |
| 9 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
| 10 #include "ipc/ipc_channel.h" | 10 #include "ipc/ipc_channel.h" |
| 11 | 11 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 36 case AutomationMsg_ConnectExternalTab::ID: | 36 case AutomationMsg_ConnectExternalTab::ID: |
| 37 #if defined(OS_WIN) | 37 #if defined(OS_WIN) |
| 38 case AutomationMsg_BrowserMove::ID: | 38 case AutomationMsg_BrowserMove::ID: |
| 39 case AutomationMsg_ProcessUnhandledAccelerator::ID: | 39 case AutomationMsg_ProcessUnhandledAccelerator::ID: |
| 40 case AutomationMsg_TabReposition::ID: | 40 case AutomationMsg_TabReposition::ID: |
| 41 case AutomationMsg_ForwardContextMenuCommandToChrome::ID: | 41 case AutomationMsg_ForwardContextMenuCommandToChrome::ID: |
| 42 #endif // defined(OS_WIN) | 42 #endif // defined(OS_WIN) |
| 43 case AutomationMsg_NavigateInExternalTab::ID: | 43 case AutomationMsg_NavigateInExternalTab::ID: |
| 44 case AutomationMsg_NavigateExternalTabAtIndex::ID: | 44 case AutomationMsg_NavigateExternalTabAtIndex::ID: |
| 45 case AutomationMsg_Find::ID: | 45 case AutomationMsg_Find::ID: |
| 46 case AutomationMsg_InstallExtension::ID: | |
| 47 case AutomationMsg_LoadExpandedExtension::ID: | |
| 48 case AutomationMsg_GetEnabledExtensions::ID: | |
| 49 case AutomationMsg_SetEnableExtensionAutomation::ID: | |
| 50 case AutomationMsg_SetInitialFocus::ID: | 46 case AutomationMsg_SetInitialFocus::ID: |
| 51 case AutomationMsg_SetPageFontSize::ID: | 47 case AutomationMsg_SetPageFontSize::ID: |
| 52 case AutomationMsg_SetProxyConfig::ID: | 48 case AutomationMsg_SetProxyConfig::ID: |
| 53 case AutomationMsg_Cut::ID: | 49 case AutomationMsg_Cut::ID: |
| 54 case AutomationMsg_Copy::ID: | 50 case AutomationMsg_Copy::ID: |
| 55 case AutomationMsg_Paste::ID: | 51 case AutomationMsg_Paste::ID: |
| 56 case AutomationMsg_SelectAll::ID: | 52 case AutomationMsg_SelectAll::ID: |
| 57 case AutomationMsg_ReloadAsync::ID: | 53 case AutomationMsg_ReloadAsync::ID: |
| 58 case AutomationMsg_StopAsync::ID: | 54 case AutomationMsg_StopAsync::ID: |
| 59 case AutomationMsg_PrintAsync::ID: | 55 case AutomationMsg_PrintAsync::ID: |
| (...skipping 10 matching lines...) Expand all Loading... |
| 70 is_valid_message = true; | 66 is_valid_message = true; |
| 71 break; | 67 break; |
| 72 } | 68 } |
| 73 | 69 |
| 74 default: | 70 default: |
| 75 break; | 71 break; |
| 76 } | 72 } |
| 77 | 73 |
| 78 return is_valid_message; | 74 return is_valid_message; |
| 79 } | 75 } |
| 80 | |
| OLD | NEW |