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

Side by Side Diff: chrome/tools/build/linux/chrome-wrapper

Issue 7824037: Get surrounding text from webkit. This CL is for sharing code only. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 3 months 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
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Running Chromium via this script makes it possible to set Chromium as the 7 # Running Chromium via this script makes it possible to set Chromium as the
8 # default browser directly out of a compile, without needing to package it. 8 # default browser directly out of a compile, without needing to package it.
9 9
10 DESKTOP="chromium-devel" 10 DESKTOP="chromium-devel"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 exists_desktop_file || generate_desktop_file 140 exists_desktop_file || generate_desktop_file
141 141
142 CMD_PREFIX= 142 CMD_PREFIX=
143 ARGS=() 143 ARGS=()
144 while [ "$#" -gt 0 ]; do 144 while [ "$#" -gt 0 ]; do
145 case "$1" in 145 case "$1" in
146 "--") 146 "--")
147 shift 147 shift
148 break ;; 148 break ;;
149 "--gdb") 149 "--gdb")
150 CMD_PREFIX="gdb --args" ;; 150 CMD_PREFIX="gdbtui --args" ;;
151 "--help") 151 "--help")
152 usage 152 usage
153 exit 0 ;; 153 exit 0 ;;
154 "--man-page") 154 "--man-page")
155 exec man "$HERE/../../chrome/app/resources/manpage.1.in" ;; 155 exec man "$HERE/../../chrome/app/resources/manpage.1.in" ;;
156 *) 156 *)
157 ARGS=( "${ARGS[@]}" "$1" ) ;; 157 ARGS=( "${ARGS[@]}" "$1" ) ;;
158 esac 158 esac
159 shift 159 shift
160 done 160 done
161 set -- "${ARGS[@]}" "$@" 161 set -- "${ARGS[@]}" "$@"
162 162
163 exec $CMD_PREFIX "$HERE/chrome" "$@" 163 exec $CMD_PREFIX "$HERE/chrome" "$@"
OLDNEW
« no previous file with comments | « chrome/browser/browser_main_posix.cc ('k') | content/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698