| 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_frame/cfproxy_private.h" | 5 #include "chrome_frame/cfproxy_private.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 #include "base/atomic_sequence_num.h" | 8 #include "base/atomic_sequence_num.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 void Interface2IPCMessage::Tab_SelectAll(int tab) { | 110 void Interface2IPCMessage::Tab_SelectAll(int tab) { |
| 111 sender_->Send(new AutomationMsg_SelectAll(tab)); | 111 sender_->Send(new AutomationMsg_SelectAll(tab)); |
| 112 } | 112 } |
| 113 | 113 |
| 114 void Interface2IPCMessage::Tab_MenuCommand(int tab, int selected_command) { | 114 void Interface2IPCMessage::Tab_MenuCommand(int tab, int selected_command) { |
| 115 sender_->Send(new AutomationMsg_ForwardContextMenuCommandToChrome( | 115 sender_->Send(new AutomationMsg_ForwardContextMenuCommandToChrome( |
| 116 tab, selected_command)); | 116 tab, selected_command)); |
| 117 } | 117 } |
| 118 | 118 |
| 119 void Interface2IPCMessage::Tab_Zoom(int tab, PageZoom::Function zoom_level) { | 119 void Interface2IPCMessage::Tab_Zoom(int tab, content::PageZoom zoom_level) { |
| 120 sender_->Send(new AutomationMsg_SetZoomLevel(tab, zoom_level)); | 120 sender_->Send(new AutomationMsg_SetZoomLevel(tab, zoom_level)); |
| 121 } | 121 } |
| 122 | 122 |
| 123 void Interface2IPCMessage::Tab_FontSize(int tab, | 123 void Interface2IPCMessage::Tab_FontSize(int tab, |
| 124 enum AutomationPageFontSize font_size) { | 124 enum AutomationPageFontSize font_size) { |
| 125 sender_->Send(new AutomationMsg_SetPageFontSize(tab, font_size)); | 125 sender_->Send(new AutomationMsg_SetPageFontSize(tab, font_size)); |
| 126 } | 126 } |
| 127 | 127 |
| 128 void Interface2IPCMessage::Tab_SetInitialFocus(int tab, bool reverse, | 128 void Interface2IPCMessage::Tab_SetInitialFocus(int tab, bool reverse, |
| 129 bool restore_focus_to_view) { | 129 bool restore_focus_to_view) { |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 | 303 |
| 304 command_line_string = command_line->GetCommandLineString(); | 304 command_line_string = command_line->GetCommandLineString(); |
| 305 if (!extra_args.empty()) { | 305 if (!extra_args.empty()) { |
| 306 command_line_string.append(L" "); | 306 command_line_string.append(L" "); |
| 307 command_line_string.append(extra_args); | 307 command_line_string.append(extra_args); |
| 308 } | 308 } |
| 309 } | 309 } |
| 310 | 310 |
| 311 return command_line_string; | 311 return command_line_string; |
| 312 } | 312 } |
| OLD | NEW |