Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: chrome_frame/cfproxy_support.cc

Issue 8413051: Move PageZoom enum into content/public/common and into the content namespace. Also move content_c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/cfproxy_private.h ('k') | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome_frame/cfproxy_private.h ('k') | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698