| 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/chrome_frame_automation_provider.h" | 5 #include "chrome/browser/automation/chrome_frame_automation_provider.h" |
| 6 #include "chrome/browser/browser_process.h" | 6 #include "chrome/browser/browser_process.h" |
| 7 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 8 #include "chrome/browser/profiles/profile_manager.h" | 8 #include "chrome/browser/profiles/profile_manager.h" |
| 9 #include "chrome/common/automation_messages.h" | 9 #include "chrome/common/automation_messages.h" |
| 10 #include "ipc/ipc_message.h" | 10 #include "ipc/ipc_message.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 bool is_valid_message = false; | 43 bool is_valid_message = false; |
| 44 | 44 |
| 45 switch (type) { | 45 switch (type) { |
| 46 case AutomationMsg_CreateExternalTab::ID: | 46 case AutomationMsg_CreateExternalTab::ID: |
| 47 case AutomationMsg_ConnectExternalTab::ID: | 47 case AutomationMsg_ConnectExternalTab::ID: |
| 48 #if defined(OS_WIN) | 48 #if defined(OS_WIN) |
| 49 case AutomationMsg_BrowserMove::ID: | 49 case AutomationMsg_BrowserMove::ID: |
| 50 case AutomationMsg_ProcessUnhandledAccelerator::ID: | 50 case AutomationMsg_ProcessUnhandledAccelerator::ID: |
| 51 case AutomationMsg_ForwardContextMenuCommandToChrome::ID: | 51 case AutomationMsg_ForwardContextMenuCommandToChrome::ID: |
| 52 #endif // defined(OS_WIN) | 52 #endif // defined(OS_WIN) |
| 53 #if defined(OS_WIN) && !defined(USE_AURA) | 53 #if defined(OS_WIN) |
| 54 case AutomationMsg_TabReposition::ID: | 54 case AutomationMsg_TabReposition::ID: |
| 55 #endif | 55 #endif |
| 56 case AutomationMsg_NavigateInExternalTab::ID: | 56 case AutomationMsg_NavigateInExternalTab::ID: |
| 57 case AutomationMsg_NavigateExternalTabAtIndex::ID: | 57 case AutomationMsg_NavigateExternalTabAtIndex::ID: |
| 58 case AutomationMsg_Find::ID: | 58 case AutomationMsg_Find::ID: |
| 59 case AutomationMsg_SetInitialFocus::ID: | 59 case AutomationMsg_SetInitialFocus::ID: |
| 60 case AutomationMsg_SetPageFontSize::ID: | 60 case AutomationMsg_SetPageFontSize::ID: |
| 61 case AutomationMsg_SetProxyConfig::ID: | 61 case AutomationMsg_SetProxyConfig::ID: |
| 62 case AutomationMsg_Cut::ID: | 62 case AutomationMsg_Cut::ID: |
| 63 case AutomationMsg_Copy::ID: | 63 case AutomationMsg_Copy::ID: |
| (...skipping 15 matching lines...) Expand all Loading... |
| 79 is_valid_message = true; | 79 is_valid_message = true; |
| 80 break; | 80 break; |
| 81 } | 81 } |
| 82 | 82 |
| 83 default: | 83 default: |
| 84 break; | 84 break; |
| 85 } | 85 } |
| 86 | 86 |
| 87 return is_valid_message; | 87 return is_valid_message; |
| 88 } | 88 } |
| OLD | NEW |