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

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

Issue 2864833002: Tapping handle shouldn't select misspelled word (Closed)
Patch Set: Mac test 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 #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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "content/common/render_widget_surface_properties.h" 42 #include "content/common/render_widget_surface_properties.h"
43 #include "content/common/view_message_enums.h" 43 #include "content/common/view_message_enums.h"
44 #include "content/public/browser/render_widget_host.h" 44 #include "content/public/browser/render_widget_host.h"
45 #include "content/public/common/page_zoom.h" 45 #include "content/public/common/page_zoom.h"
46 #include "content/public/common/url_constants.h" 46 #include "content/public/common/url_constants.h"
47 #include "ipc/ipc_listener.h" 47 #include "ipc/ipc_listener.h"
48 #include "mojo/public/cpp/bindings/binding.h" 48 #include "mojo/public/cpp/bindings/binding.h"
49 #include "third_party/WebKit/public/platform/WebDisplayMode.h" 49 #include "third_party/WebKit/public/platform/WebDisplayMode.h"
50 #include "ui/base/ime/text_input_mode.h" 50 #include "ui/base/ime/text_input_mode.h"
51 #include "ui/base/ime/text_input_type.h" 51 #include "ui/base/ime/text_input_type.h"
52 #include "ui/base/ui_base_types.h"
52 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" 53 #include "ui/events/gesture_detection/gesture_provider_config_helper.h"
53 #include "ui/gfx/native_widget_types.h" 54 #include "ui/gfx/native_widget_types.h"
54 #include "ui/latency/latency_info.h" 55 #include "ui/latency/latency_info.h"
55 56
56 class SkBitmap; 57 class SkBitmap;
57 struct FrameHostMsg_HittestData_Params; 58 struct FrameHostMsg_HittestData_Params;
58 struct ViewHostMsg_SelectionBounds_Params; 59 struct ViewHostMsg_SelectionBounds_Params;
59 struct ViewHostMsg_UpdateRect_Params; 60 struct ViewHostMsg_UpdateRect_Params;
60 61
61 namespace blink { 62 namespace blink {
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 // Enables/disables touch emulation using mouse event. See TouchEmulator. 371 // Enables/disables touch emulation using mouse event. See TouchEmulator.
371 void SetTouchEventEmulationEnabled( 372 void SetTouchEventEmulationEnabled(
372 bool enabled, ui::GestureProviderConfigType config_type); 373 bool enabled, ui::GestureProviderConfigType config_type);
373 374
374 // TouchEmulatorClient implementation. 375 // TouchEmulatorClient implementation.
375 void ForwardEmulatedGestureEvent( 376 void ForwardEmulatedGestureEvent(
376 const blink::WebGestureEvent& gesture_event) override; 377 const blink::WebGestureEvent& gesture_event) override;
377 void ForwardEmulatedTouchEvent( 378 void ForwardEmulatedTouchEvent(
378 const blink::WebTouchEvent& touch_event) override; 379 const blink::WebTouchEvent& touch_event) override;
379 void SetCursor(const WebCursor& cursor) override; 380 void SetCursor(const WebCursor& cursor) override;
380 void ShowContextMenuAtPoint(const gfx::Point& point) override; 381 void ShowContextMenuAtPoint(const gfx::Point& point,
382 const ui::MenuSourceType source_type) override;
381 383
382 // Queues a synthetic gesture for testing purposes. Invokes the on_complete 384 // Queues a synthetic gesture for testing purposes. Invokes the on_complete
383 // callback when the gesture is finished running. 385 // callback when the gesture is finished running.
384 void QueueSyntheticGesture( 386 void QueueSyntheticGesture(
385 std::unique_ptr<SyntheticGesture> synthetic_gesture, 387 std::unique_ptr<SyntheticGesture> synthetic_gesture,
386 const base::Callback<void(SyntheticGesture::Result)>& on_complete); 388 const base::Callback<void(SyntheticGesture::Result)>& on_complete);
387 389
388 void CancelUpdateTextDirection(); 390 void CancelUpdateTextDirection();
389 391
390 // Update the composition node of the renderer (or WebKit). 392 // Update the composition node of the renderer (or WebKit).
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 base::OnceClosure begin_frame_callback_; 985 base::OnceClosure begin_frame_callback_;
984 986
985 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 987 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
986 988
987 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 989 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
988 }; 990 };
989 991
990 } // namespace content 992 } // namespace content
991 993
992 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 994 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698