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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 1643063002: Revert of Handle pointer-events: none in browser process hittesting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 28 matching lines...) Expand all
39 #include "content/public/browser/render_widget_host.h" 39 #include "content/public/browser/render_widget_host.h"
40 #include "content/public/common/page_zoom.h" 40 #include "content/public/common/page_zoom.h"
41 #include "ipc/ipc_listener.h" 41 #include "ipc/ipc_listener.h"
42 #include "third_party/WebKit/public/platform/WebDisplayMode.h" 42 #include "third_party/WebKit/public/platform/WebDisplayMode.h"
43 #include "ui/base/ime/text_input_mode.h" 43 #include "ui/base/ime/text_input_mode.h"
44 #include "ui/base/ime/text_input_type.h" 44 #include "ui/base/ime/text_input_type.h"
45 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" 45 #include "ui/events/gesture_detection/gesture_provider_config_helper.h"
46 #include "ui/events/latency_info.h" 46 #include "ui/events/latency_info.h"
47 #include "ui/gfx/native_widget_types.h" 47 #include "ui/gfx/native_widget_types.h"
48 48
49 struct FrameHostMsg_HittestData_Params;
50 struct ViewHostMsg_SelectionBounds_Params; 49 struct ViewHostMsg_SelectionBounds_Params;
51 struct ViewHostMsg_TextInputState_Params; 50 struct ViewHostMsg_TextInputState_Params;
52 struct ViewHostMsg_UpdateRect_Params; 51 struct ViewHostMsg_UpdateRect_Params;
53 52
54 namespace blink { 53 namespace blink {
55 class WebInputEvent; 54 class WebInputEvent;
56 #if defined(OS_ANDROID) 55 #if defined(OS_ANDROID)
57 class WebLayer; 56 class WebLayer;
58 #endif 57 #endif
59 class WebMouseEvent; 58 class WebMouseEvent;
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 gfx::NativeViewId dummy_activation_window); 583 gfx::NativeViewId dummy_activation_window);
585 void OnWindowlessPluginDummyWindowDestroyed( 584 void OnWindowlessPluginDummyWindowDestroyed(
586 gfx::NativeViewId dummy_activation_window); 585 gfx::NativeViewId dummy_activation_window);
587 #endif 586 #endif
588 void OnSelectionChanged(const base::string16& text, 587 void OnSelectionChanged(const base::string16& text,
589 size_t offset, 588 size_t offset,
590 const gfx::Range& range); 589 const gfx::Range& range);
591 void OnSelectionBoundsChanged( 590 void OnSelectionBoundsChanged(
592 const ViewHostMsg_SelectionBounds_Params& params); 591 const ViewHostMsg_SelectionBounds_Params& params);
593 void OnForwardCompositorProto(const std::vector<uint8_t>& proto); 592 void OnForwardCompositorProto(const std::vector<uint8_t>& proto);
594 void OnHittestData(const FrameHostMsg_HittestData_Params& params);
595 593
596 // Called (either immediately or asynchronously) after we're done with our 594 // Called (either immediately or asynchronously) after we're done with our
597 // BackingStore and can send an ACK to the renderer so it can paint onto it 595 // BackingStore and can send an ACK to the renderer so it can paint onto it
598 // again. 596 // again.
599 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params, 597 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params,
600 const base::TimeTicks& paint_start); 598 const base::TimeTicks& paint_start);
601 599
602 // Give key press listeners a chance to handle this key press. This allow 600 // Give key press listeners a chance to handle this key press. This allow
603 // widgets that don't have focus to still handle key presses. 601 // widgets that don't have focus to still handle key presses.
604 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); 602 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event);
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; 825 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_;
828 826
829 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 827 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
830 828
831 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 829 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
832 }; 830 };
833 831
834 } // namespace content 832 } // namespace content
835 833
836 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 834 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/delegated_frame_host.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698