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

Side by Side Diff: content/public/test/render_view_test.cc

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/test/render_view_test.h" 5 #include "content/public/test/render_view_test.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <cctype> 9 #include <cctype>
10 10
(...skipping 19 matching lines...) Expand all
30 #include "content/renderer/history_controller.h" 30 #include "content/renderer/history_controller.h"
31 #include "content/renderer/history_serialization.h" 31 #include "content/renderer/history_serialization.h"
32 #include "content/renderer/render_thread_impl.h" 32 #include "content/renderer/render_thread_impl.h"
33 #include "content/renderer/render_view_impl.h" 33 #include "content/renderer/render_view_impl.h"
34 #include "content/renderer/renderer_blink_platform_impl.h" 34 #include "content/renderer/renderer_blink_platform_impl.h"
35 #include "content/renderer/renderer_main_platform_delegate.h" 35 #include "content/renderer/renderer_main_platform_delegate.h"
36 #include "content/test/fake_compositor_dependencies.h" 36 #include "content/test/fake_compositor_dependencies.h"
37 #include "content/test/mock_render_process.h" 37 #include "content/test/mock_render_process.h"
38 #include "content/test/test_content_client.h" 38 #include "content/test/test_content_client.h"
39 #include "content/test/test_render_frame.h" 39 #include "content/test/test_render_frame.h"
40 #include "third_party/WebKit/public/platform/WebGestureEvent.h"
41 #include "third_party/WebKit/public/platform/WebInputEvent.h"
40 #include "third_party/WebKit/public/platform/WebURLRequest.h" 42 #include "third_party/WebKit/public/platform/WebURLRequest.h"
41 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 43 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
42 #include "third_party/WebKit/public/web/WebDocument.h" 44 #include "third_party/WebKit/public/web/WebDocument.h"
43 #include "third_party/WebKit/public/web/WebHistoryItem.h" 45 #include "third_party/WebKit/public/web/WebHistoryItem.h"
44 #include "third_party/WebKit/public/web/WebInputElement.h" 46 #include "third_party/WebKit/public/web/WebInputElement.h"
45 #include "third_party/WebKit/public/web/WebInputEvent.h"
46 #include "third_party/WebKit/public/web/WebKit.h" 47 #include "third_party/WebKit/public/web/WebKit.h"
47 #include "third_party/WebKit/public/web/WebLocalFrame.h" 48 #include "third_party/WebKit/public/web/WebLocalFrame.h"
48 #include "third_party/WebKit/public/web/WebScriptSource.h" 49 #include "third_party/WebKit/public/web/WebScriptSource.h"
49 #include "third_party/WebKit/public/web/WebView.h" 50 #include "third_party/WebKit/public/web/WebView.h"
50 #include "ui/base/resource/resource_bundle.h" 51 #include "ui/base/resource/resource_bundle.h"
51 #include "ui/events/keycodes/keyboard_codes.h" 52 #include "ui/events/keycodes/keyboard_codes.h"
52 #include "v8/include/v8.h" 53 #include "v8/include/v8.h"
53 54
54 #if defined(OS_MACOSX) 55 #if defined(OS_MACOSX)
55 #include "base/mac/scoped_nsautorelease_pool.h" 56 #include "base/mac/scoped_nsautorelease_pool.h"
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 static_cast<TestRenderFrame*>(impl->GetMainRenderFrame()); 658 static_cast<TestRenderFrame*>(impl->GetMainRenderFrame());
658 frame->Navigate(common_params, StartNavigationParams(), request_params); 659 frame->Navigate(common_params, StartNavigationParams(), request_params);
659 660
660 // The load actually happens asynchronously, so we pump messages to process 661 // The load actually happens asynchronously, so we pump messages to process
661 // the pending continuation. 662 // the pending continuation.
662 FrameLoadWaiter(frame).Wait(); 663 FrameLoadWaiter(frame).Wait();
663 view_->GetWebView()->updateAllLifecyclePhases(); 664 view_->GetWebView()->updateAllLifecyclePhases();
664 } 665 }
665 666
666 } // namespace content 667 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/browser_test_utils.h ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698