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

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

Issue 12772003: Removed unused parameters (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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 | « src/views/SkWindow.cpp ('k') | 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 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 #include <X11/Xatom.h> 9 #include <X11/Xatom.h>
10 #include <X11/XKBlib.h> 10 #include <X11/XKBlib.h>
(...skipping 14 matching lines...) Expand all
25 #include "keysym2ucs.h" 25 #include "keysym2ucs.h"
26 } 26 }
27 27
28 const int WIDTH = 500; 28 const int WIDTH = 500;
29 const int HEIGHT = 500; 29 const int HEIGHT = 500;
30 30
31 // Determine which events to listen for. 31 // Determine which events to listen for.
32 const long EVENT_MASK = StructureNotifyMask|ButtonPressMask|ButtonReleaseMask 32 const long EVENT_MASK = StructureNotifyMask|ButtonPressMask|ButtonReleaseMask
33 |ExposureMask|PointerMotionMask|KeyPressMask|KeyReleaseMask; 33 |ExposureMask|PointerMotionMask|KeyPressMask|KeyReleaseMask;
34 34
35 SkOSWindow::SkOSWindow(void* unused) 35 SkOSWindow::SkOSWindow(void*)
36 : fVi(NULL) 36 : fVi(NULL)
37 , fMSAASampleCount(0) { 37 , fMSAASampleCount(0) {
38 fUnixWindow.fDisplay = NULL; 38 fUnixWindow.fDisplay = NULL;
39 fUnixWindow.fGLContext = NULL; 39 fUnixWindow.fGLContext = NULL;
40 this->initWindow(0, NULL); 40 this->initWindow(0, NULL);
41 this->resize(WIDTH, HEIGHT); 41 this->resize(WIDTH, HEIGHT);
42 } 42 }
43 43
44 SkOSWindow::~SkOSWindow() { 44 SkOSWindow::~SkOSWindow() {
45 this->closeWindow(); 45 this->closeWindow();
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 &image, 373 &image,
374 0, 0, // src x,y 374 0, 0, // src x,y
375 0, 0, // dst x,y 375 0, 0, // dst x,y
376 width, height); 376 width, height);
377 } 377 }
378 378
379 bool SkOSWindow::onHandleChar(SkUnichar) { 379 bool SkOSWindow::onHandleChar(SkUnichar) {
380 return false; 380 return false;
381 } 381 }
382 382
383 bool SkOSWindow::onHandleKey(SkKey key) { 383 bool SkOSWindow::onHandleKey(SkKey) {
384 return false; 384 return false;
385 } 385 }
386 386
387 bool SkOSWindow::onHandleKeyUp(SkKey key) { 387 bool SkOSWindow::onHandleKeyUp(SkKey) {
388 return false; 388 return false;
389 } 389 }
OLDNEW
« no previous file with comments | « src/views/SkWindow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698