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

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

Issue 2652643004: Make PageScaleFactor work for oopif subframes.
Patch Set: Put function prototype in correct place. 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 // 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 14 matching lines...) Expand all
25 #include "base/trace_event/trace_event_synthetic_delay.h" 25 #include "base/trace_event/trace_event_synthetic_delay.h"
26 #include "build/build_config.h" 26 #include "build/build_config.h"
27 #include "cc/animation/animation_host.h" 27 #include "cc/animation/animation_host.h"
28 #include "cc/output/compositor_frame_sink.h" 28 #include "cc/output/compositor_frame_sink.h"
29 #include "cc/output/copy_output_request.h" 29 #include "cc/output/copy_output_request.h"
30 #include "cc/scheduler/begin_frame_source.h" 30 #include "cc/scheduler/begin_frame_source.h"
31 #include "cc/trees/layer_tree_host.h" 31 #include "cc/trees/layer_tree_host.h"
32 #include "content/common/content_switches_internal.h" 32 #include "content/common/content_switches_internal.h"
33 #include "content/common/drag_event_source_info.h" 33 #include "content/common/drag_event_source_info.h"
34 #include "content/common/drag_messages.h" 34 #include "content/common/drag_messages.h"
35 #include "content/common/frame_messages.h"
35 #include "content/common/input/synthetic_gesture_packet.h" 36 #include "content/common/input/synthetic_gesture_packet.h"
36 #include "content/common/input_messages.h" 37 #include "content/common/input_messages.h"
37 #include "content/common/render_message_filter.mojom.h" 38 #include "content/common/render_message_filter.mojom.h"
38 #include "content/common/swapped_out_messages.h" 39 #include "content/common/swapped_out_messages.h"
39 #include "content/common/text_input_state.h" 40 #include "content/common/text_input_state.h"
40 #include "content/common/view_messages.h" 41 #include "content/common/view_messages.h"
41 #include "content/public/common/content_features.h" 42 #include "content/public/common/content_features.h"
42 #include "content/public/common/content_switches.h" 43 #include "content/public/common/content_switches.h"
43 #include "content/public/common/context_menu_params.h" 44 #include "content/public/common/context_menu_params.h"
44 #include "content/public/common/drop_data.h" 45 #include "content/public/common/drop_data.h"
(...skipping 2241 matching lines...) Expand 10 before | Expand all | Expand 10 after
2286 // browser side (https://crbug.com/669219). 2287 // browser side (https://crbug.com/669219).
2287 // If there is no WebFrameWidget, then there will be no 2288 // If there is no WebFrameWidget, then there will be no
2288 // InputMethodControllers for a WebLocalFrame. 2289 // InputMethodControllers for a WebLocalFrame.
2289 return nullptr; 2290 return nullptr;
2290 } 2291 }
2291 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) 2292 return static_cast<blink::WebFrameWidget*>(GetWebWidget())
2292 ->getActiveWebInputMethodController(); 2293 ->getActiveWebInputMethodController();
2293 } 2294 }
2294 2295
2295 } // namespace content 2296 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698