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

Side by Side Diff: chrome/browser/chrome_browser_main_posix.cc

Issue 8372030: Get printing working in Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More gyp fixes 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 | « no previous file | chrome/browser/printing/print_dialog_gtk.h » ('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/browser/chrome_browser_main_posix.h" 5 #include "chrome/browser/chrome_browser_main_posix.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <limits.h> 8 #include <limits.h>
9 #include <signal.h> 9 #include <signal.h>
10 #include <sys/resource.h> 10 #include <sys/resource.h>
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 // Also handle SIGINT - when the user terminates the browser via Ctrl+C. If 252 // Also handle SIGINT - when the user terminates the browser via Ctrl+C. If
253 // the browser process is being debugged, GDB will catch the SIGINT first. 253 // the browser process is being debugged, GDB will catch the SIGINT first.
254 action.sa_handler = SIGINTHandler; 254 action.sa_handler = SIGINTHandler;
255 CHECK(sigaction(SIGINT, &action, NULL) == 0); 255 CHECK(sigaction(SIGINT, &action, NULL) == 0);
256 // And SIGHUP, for when the terminal disappears. On shutdown, many Linux 256 // And SIGHUP, for when the terminal disappears. On shutdown, many Linux
257 // distros send SIGHUP, SIGTERM, and then SIGKILL. 257 // distros send SIGHUP, SIGTERM, and then SIGKILL.
258 action.sa_handler = SIGHUPHandler; 258 action.sa_handler = SIGHUPHandler;
259 CHECK(sigaction(SIGHUP, &action, NULL) == 0); 259 CHECK(sigaction(SIGHUP, &action, NULL) == 0);
260 260
261 #if defined(TOOLKIT_USES_GTK) && !defined(OS_CHROMEOS) 261 #if defined(TOOLKIT_USES_GTK) && !defined(OS_CHROMEOS)
262 printing::PrintingContextCairo::SetCreatePrintDialogFunction( 262 printing::PrintingContextGtk::SetCreatePrintDialogFunction(
263 &PrintDialogGtk::CreatePrintDialog); 263 &PrintDialogGtk::CreatePrintDialog);
264 #endif 264 #endif
265 } 265 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/printing/print_dialog_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698