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

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

Issue 1888773003: Merge DragClientImpl into core. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing file. Created 4 years, 8 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #include "platform/geometry/IntSize.h" 60 #include "platform/geometry/IntSize.h"
61 #include "platform/graphics/Color.h" 61 #include "platform/graphics/Color.h"
62 #include "platform/graphics/GraphicsContext.h" 62 #include "platform/graphics/GraphicsContext.h"
63 #include "platform/graphics/paint/SkPictureBuilder.h" 63 #include "platform/graphics/paint/SkPictureBuilder.h"
64 #include "platform/testing/URLTestHelpers.h" 64 #include "platform/testing/URLTestHelpers.h"
65 #include "platform/testing/UnitTestHelpers.h" 65 #include "platform/testing/UnitTestHelpers.h"
66 #include "public/platform/Platform.h" 66 #include "public/platform/Platform.h"
67 #include "public/platform/WebClipboard.h" 67 #include "public/platform/WebClipboard.h"
68 #include "public/platform/WebDisplayMode.h" 68 #include "public/platform/WebDisplayMode.h"
69 #include "public/platform/WebDragData.h" 69 #include "public/platform/WebDragData.h"
70 #include "public/platform/WebDragOperation.h"
70 #include "public/platform/WebSize.h" 71 #include "public/platform/WebSize.h"
71 #include "public/platform/WebThread.h" 72 #include "public/platform/WebThread.h"
72 #include "public/platform/WebURLLoaderMockFactory.h" 73 #include "public/platform/WebURLLoaderMockFactory.h"
73 #include "public/web/WebAutofillClient.h" 74 #include "public/web/WebAutofillClient.h"
74 #include "public/web/WebCache.h" 75 #include "public/web/WebCache.h"
75 #include "public/web/WebContentDetectionResult.h" 76 #include "public/web/WebContentDetectionResult.h"
76 #include "public/web/WebDateTimeChooserCompletion.h" 77 #include "public/web/WebDateTimeChooserCompletion.h"
77 #include "public/web/WebDeviceEmulationParams.h" 78 #include "public/web/WebDeviceEmulationParams.h"
78 #include "public/web/WebDocument.h" 79 #include "public/web/WebDocument.h"
79 #include "public/web/WebDragOperation.h"
80 #include "public/web/WebElement.h" 80 #include "public/web/WebElement.h"
81 #include "public/web/WebFrame.h" 81 #include "public/web/WebFrame.h"
82 #include "public/web/WebFrameClient.h" 82 #include "public/web/WebFrameClient.h"
83 #include "public/web/WebFrameContentDumper.h" 83 #include "public/web/WebFrameContentDumper.h"
84 #include "public/web/WebHitTestResult.h" 84 #include "public/web/WebHitTestResult.h"
85 #include "public/web/WebInputEvent.h" 85 #include "public/web/WebInputEvent.h"
86 #include "public/web/WebScriptSource.h" 86 #include "public/web/WebScriptSource.h"
87 #include "public/web/WebSettings.h" 87 #include "public/web/WebSettings.h"
88 #include "public/web/WebTreeScopeType.h" 88 #include "public/web/WebTreeScopeType.h"
89 #include "public/web/WebViewClient.h" 89 #include "public/web/WebViewClient.h"
(...skipping 3201 matching lines...) Expand 10 before | Expand all | Expand 10 after
3291 frame->setAutofillClient(&client); 3291 frame->setAutofillClient(&client);
3292 webView->setInitialFocus(false); 3292 webView->setInitialFocus(false);
3293 3293
3294 EXPECT_TRUE(webView->confirmComposition(WebString::fromUTF8(std::string("hel lo").c_str()))); 3294 EXPECT_TRUE(webView->confirmComposition(WebString::fromUTF8(std::string("hel lo").c_str())));
3295 EXPECT_EQ(1, client.textChangesFromUserGesture()); 3295 EXPECT_EQ(1, client.textChangesFromUserGesture());
3296 EXPECT_FALSE(UserGestureIndicator::processingUserGesture()); 3296 EXPECT_FALSE(UserGestureIndicator::processingUserGesture());
3297 frame->setAutofillClient(0); 3297 frame->setAutofillClient(0);
3298 } 3298 }
3299 3299
3300 } // namespace blink 3300 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698