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

Side by Side Diff: Tools/DumpRenderTree/chromium/TestRunner/src/TestPlugin.cpp

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 505
506 case WebInputEvent::MouseWheel: eventName = "MouseWheel"; break; 506 case WebInputEvent::MouseWheel: eventName = "MouseWheel"; break;
507 507
508 case WebInputEvent::RawKeyDown: eventName = "RawKeyDown"; break; 508 case WebInputEvent::RawKeyDown: eventName = "RawKeyDown"; break;
509 case WebInputEvent::KeyDown: eventName = "KeyDown"; break; 509 case WebInputEvent::KeyDown: eventName = "KeyDown"; break;
510 case WebInputEvent::KeyUp: eventName = "KeyUp"; break; 510 case WebInputEvent::KeyUp: eventName = "KeyUp"; break;
511 case WebInputEvent::Char: eventName = "Char"; break; 511 case WebInputEvent::Char: eventName = "Char"; break;
512 512
513 case WebInputEvent::GestureScrollBegin: eventName = "GestureScrollBegin"; b reak; 513 case WebInputEvent::GestureScrollBegin: eventName = "GestureScrollBegin"; b reak;
514 case WebInputEvent::GestureScrollEnd: eventName = "GestureScrollEnd"; bre ak; 514 case WebInputEvent::GestureScrollEnd: eventName = "GestureScrollEnd"; bre ak;
515 case WebInputEvent::GestureScrollUpdateWithoutPropagation: 515 case WebInputEvent::GestureScrollUpdateWithoutPropagation:
516 case WebInputEvent::GestureScrollUpdate: eventName = "GestureScrollUpdate"; break; 516 case WebInputEvent::GestureScrollUpdate: eventName = "GestureScrollUpdate"; break;
517 case WebInputEvent::GestureFlingStart: eventName = "GestureFlingStart"; br eak; 517 case WebInputEvent::GestureFlingStart: eventName = "GestureFlingStart"; br eak;
518 case WebInputEvent::GestureFlingCancel: eventName = "GestureFlingCancel"; b reak; 518 case WebInputEvent::GestureFlingCancel: eventName = "GestureFlingCancel"; b reak;
519 case WebInputEvent::GestureTap: eventName = "GestureTap"; break; 519 case WebInputEvent::GestureTap: eventName = "GestureTap"; break;
520 case WebInputEvent::GestureTapUnconfirmed: 520 case WebInputEvent::GestureTapUnconfirmed:
521 eventName = "GestureTapUnconfirmed" ; break; 521 eventName = "GestureTapUnconfirmed" ; break;
522 case WebInputEvent::GestureTapDown: eventName = "GestureTapDown"; break ; 522 case WebInputEvent::GestureTapDown: eventName = "GestureTapDown"; break ;
523 case WebInputEvent::GestureTapCancel: eventName = "GestureTapCancel"; bre ak; 523 case WebInputEvent::GestureTapCancel: eventName = "GestureTapCancel"; bre ak;
524 case WebInputEvent::GestureDoubleTap: eventName = "GestureDoubleTap"; bre ak; 524 case WebInputEvent::GestureDoubleTap: eventName = "GestureDoubleTap"; bre ak;
525 case WebInputEvent::GestureTwoFingerTap: eventName = "GestureTwoFingerTap"; break; 525 case WebInputEvent::GestureTwoFingerTap: eventName = "GestureTwoFingerTap"; break;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 return new TestPlugin(frame, params, delegate); 571 return new TestPlugin(frame, params, delegate);
572 } 572 }
573 573
574 const WebString& TestPlugin::mimeType() 574 const WebString& TestPlugin::mimeType()
575 { 575 {
576 static const WebString kMimeType = WebString::fromUTF8("application/x-webkit -test-webplugin"); 576 static const WebString kMimeType = WebString::fromUTF8("application/x-webkit -test-webplugin");
577 return kMimeType; 577 return kMimeType;
578 } 578 }
579 579
580 } 580 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698