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

Side by Side Diff: src/views/unix/skia_unix.cpp

Issue 133113002: Cleanup: Remove unused includes from skia_unix.cpp (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 #include "X11/Xlib.h"
9 #include "X11/keysym.h"
10 7
11 #include "SkApplication.h" 8 #include "SkApplication.h"
12 #include "SkEvent.h" 9 #include "SkEvent.h"
13 #include "SkWindow.h" 10 #include "SkWindow.h"
14 #include "SkTypes.h"
15
16 #include <signal.h>
17 #include <sys/time.h>
18
19 SkOSWindow* gWindow;
20 11
21 int main(int argc, char** argv){ 12 int main(int argc, char** argv){
22 gWindow = create_sk_window(NULL, argc, argv); 13 SkOSWindow* window = create_sk_window(NULL, argc, argv);
23 14
24 // drain any events that occurred before gWindow was assigned. 15 // drain any events that occurred before |window| was assigned.
25 while (SkEvent::ProcessEvent()); 16 while (SkEvent::ProcessEvent());
26 17
27 // Start normal Skia sequence 18 // Start normal Skia sequence
28 application_init(); 19 application_init();
29 20
30 gWindow->loop(); 21 window->loop();
31 22
32 delete gWindow; 23 delete window;
33 application_term(); 24 application_term();
34 return 0; 25 return 0;
35 } 26 }
36
37 // SkEvent handlers
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698