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

Side by Side Diff: third_party/WebKit/Source/web/tests/WebViewTest.cpp

Issue 2639273002: Give WebTouchEvent and WebKeyboardEvent their own headers (Closed)
Patch Set: Rebase Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #include "platform/scroll/ScrollTypes.h" 66 #include "platform/scroll/ScrollTypes.h"
67 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 67 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
68 #include "platform/testing/URLTestHelpers.h" 68 #include "platform/testing/URLTestHelpers.h"
69 #include "platform/testing/UnitTestHelpers.h" 69 #include "platform/testing/UnitTestHelpers.h"
70 #include "public/platform/Platform.h" 70 #include "public/platform/Platform.h"
71 #include "public/platform/WebDisplayMode.h" 71 #include "public/platform/WebDisplayMode.h"
72 #include "public/platform/WebDragData.h" 72 #include "public/platform/WebDragData.h"
73 #include "public/platform/WebDragOperation.h" 73 #include "public/platform/WebDragOperation.h"
74 #include "public/platform/WebFloatPoint.h" 74 #include "public/platform/WebFloatPoint.h"
75 #include "public/platform/WebInputEvent.h" 75 #include "public/platform/WebInputEvent.h"
76 #include "public/platform/WebKeyboardEvent.h"
76 #include "public/platform/WebLayerTreeView.h" 77 #include "public/platform/WebLayerTreeView.h"
77 #include "public/platform/WebMockClipboard.h" 78 #include "public/platform/WebMockClipboard.h"
78 #include "public/platform/WebSize.h" 79 #include "public/platform/WebSize.h"
79 #include "public/platform/WebThread.h" 80 #include "public/platform/WebThread.h"
80 #include "public/platform/WebURLLoaderMockFactory.h" 81 #include "public/platform/WebURLLoaderMockFactory.h"
81 #include "public/web/WebAutofillClient.h" 82 #include "public/web/WebAutofillClient.h"
82 #include "public/web/WebCache.h" 83 #include "public/web/WebCache.h"
83 #include "public/web/WebDateTimeChooserCompletion.h" 84 #include "public/web/WebDateTimeChooserCompletion.h"
84 #include "public/web/WebDeviceEmulationParams.h" 85 #include "public/web/WebDeviceEmulationParams.h"
85 #include "public/web/WebDocument.h" 86 #include "public/web/WebDocument.h"
(...skipping 4266 matching lines...) Expand 10 before | Expand all | Expand 10 after
4352 frame->printBegin(printParams, WebNode()); 4353 frame->printBegin(printParams, WebNode());
4353 webView->resize(WebSize(500, 500)); 4354 webView->resize(WebSize(500, 500));
4354 EXPECT_EQ(500, vwElement->offsetWidth()); 4355 EXPECT_EQ(500, vwElement->offsetWidth());
4355 4356
4356 webView->resize(WebSize(800, 600)); 4357 webView->resize(WebSize(800, 600));
4357 frame->printEnd(); 4358 frame->printEnd();
4358 EXPECT_EQ(800, vwElement->offsetWidth()); 4359 EXPECT_EQ(800, vwElement->offsetWidth());
4359 } 4360 }
4360 4361
4361 } // namespace blink 4362 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/TouchActionTest.cpp ('k') | third_party/WebKit/public/platform/WebInputEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698