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

Side by Side Diff: content/renderer/render_widget.cc

Issue 2895413002: WebRuntimeFeatures moved to platform/ (Closed)
Patch Set: One more move Created 3 years, 7 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 // 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/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 #include "ipc/ipc_sync_message.h" 68 #include "ipc/ipc_sync_message.h"
69 #include "ppapi/features/features.h" 69 #include "ppapi/features/features.h"
70 #include "skia/ext/platform_canvas.h" 70 #include "skia/ext/platform_canvas.h"
71 #include "third_party/WebKit/public/platform/FilePathConversion.h" 71 #include "third_party/WebKit/public/platform/FilePathConversion.h"
72 #include "third_party/WebKit/public/platform/WebCursorInfo.h" 72 #include "third_party/WebKit/public/platform/WebCursorInfo.h"
73 #include "third_party/WebKit/public/platform/WebDragData.h" 73 #include "third_party/WebKit/public/platform/WebDragData.h"
74 #include "third_party/WebKit/public/platform/WebDragOperation.h" 74 #include "third_party/WebKit/public/platform/WebDragOperation.h"
75 #include "third_party/WebKit/public/platform/WebMouseEvent.h" 75 #include "third_party/WebKit/public/platform/WebMouseEvent.h"
76 #include "third_party/WebKit/public/platform/WebPoint.h" 76 #include "third_party/WebKit/public/platform/WebPoint.h"
77 #include "third_party/WebKit/public/platform/WebRect.h" 77 #include "third_party/WebKit/public/platform/WebRect.h"
78 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h"
78 #include "third_party/WebKit/public/platform/WebSize.h" 79 #include "third_party/WebKit/public/platform/WebSize.h"
79 #include "third_party/WebKit/public/platform/WebString.h" 80 #include "third_party/WebKit/public/platform/WebString.h"
80 #include "third_party/WebKit/public/platform/scheduler/renderer/render_widget_sc heduling_state.h" 81 #include "third_party/WebKit/public/platform/scheduler/renderer/render_widget_sc heduling_state.h"
81 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 82 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
82 #include "third_party/WebKit/public/web/WebAutofillClient.h" 83 #include "third_party/WebKit/public/web/WebAutofillClient.h"
83 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" 84 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h"
84 #include "third_party/WebKit/public/web/WebFrameWidget.h" 85 #include "third_party/WebKit/public/web/WebFrameWidget.h"
85 #include "third_party/WebKit/public/web/WebInputMethodController.h" 86 #include "third_party/WebKit/public/web/WebInputMethodController.h"
86 #include "third_party/WebKit/public/web/WebLocalFrame.h" 87 #include "third_party/WebKit/public/web/WebLocalFrame.h"
87 #include "third_party/WebKit/public/web/WebNode.h" 88 #include "third_party/WebKit/public/web/WebNode.h"
88 #include "third_party/WebKit/public/web/WebPagePopup.h" 89 #include "third_party/WebKit/public/web/WebPagePopup.h"
89 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" 90 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h"
90 #include "third_party/WebKit/public/web/WebRange.h" 91 #include "third_party/WebKit/public/web/WebRange.h"
91 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
92 #include "third_party/WebKit/public/web/WebView.h" 92 #include "third_party/WebKit/public/web/WebView.h"
93 #include "third_party/WebKit/public/web/WebWidget.h" 93 #include "third_party/WebKit/public/web/WebWidget.h"
94 #include "third_party/skia/include/core/SkShader.h" 94 #include "third_party/skia/include/core/SkShader.h"
95 #include "ui/base/clipboard/clipboard.h" 95 #include "ui/base/clipboard/clipboard.h"
96 #include "ui/base/ui_base_switches.h" 96 #include "ui/base/ui_base_switches.h"
97 #include "ui/events/base_event_utils.h" 97 #include "ui/events/base_event_utils.h"
98 #include "ui/gfx/geometry/point_conversions.h" 98 #include "ui/gfx/geometry/point_conversions.h"
99 #include "ui/gfx/geometry/rect_conversions.h" 99 #include "ui/gfx/geometry/rect_conversions.h"
100 #include "ui/gfx/geometry/size_conversions.h" 100 #include "ui/gfx/geometry/size_conversions.h"
101 #include "ui/gfx/skia_util.h" 101 #include "ui/gfx/skia_util.h"
(...skipping 2238 matching lines...) Expand 10 before | Expand all | Expand 10 after
2340 // browser side (https://crbug.com/669219). 2340 // browser side (https://crbug.com/669219).
2341 // If there is no WebFrameWidget, then there will be no 2341 // If there is no WebFrameWidget, then there will be no
2342 // InputMethodControllers for a WebLocalFrame. 2342 // InputMethodControllers for a WebLocalFrame.
2343 return nullptr; 2343 return nullptr;
2344 } 2344 }
2345 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) 2345 return static_cast<blink::WebFrameWidget*>(GetWebWidget())
2346 ->GetActiveWebInputMethodController(); 2346 ->GetActiveWebInputMethodController();
2347 } 2347 }
2348 2348
2349 } // namespace content 2349 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/renderer_main_platform_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698