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

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

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: Fixing rebase bug Created 3 years, 8 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // Enables/disables touch emulation using mouse event. See TouchEmulator. 366 // Enables/disables touch emulation using mouse event. See TouchEmulator.
367 void SetTouchEventEmulationEnabled( 367 void SetTouchEventEmulationEnabled(
368 bool enabled, ui::GestureProviderConfigType config_type); 368 bool enabled, ui::GestureProviderConfigType config_type);
369 369
370 // TouchEmulatorClient implementation. 370 // TouchEmulatorClient implementation.
371 void ForwardEmulatedGestureEvent( 371 void ForwardEmulatedGestureEvent(
372 const blink::WebGestureEvent& gesture_event) override; 372 const blink::WebGestureEvent& gesture_event) override;
373 void ForwardEmulatedTouchEvent( 373 void ForwardEmulatedTouchEvent(
374 const blink::WebTouchEvent& touch_event) override; 374 const blink::WebTouchEvent& touch_event) override;
375 void SetCursor(const WebCursor& cursor) override; 375 void SetCursor(const WebCursor& cursor) override;
376 void ShowContextMenuAtPoint(const gfx::Point& point) override; 376 void ShowContextMenuAtPoint(const gfx::Point& point,
377 bool from_touch = false) override;
377 378
378 // Queues a synthetic gesture for testing purposes. Invokes the on_complete 379 // Queues a synthetic gesture for testing purposes. Invokes the on_complete
379 // callback when the gesture is finished running. 380 // callback when the gesture is finished running.
380 void QueueSyntheticGesture( 381 void QueueSyntheticGesture(
381 std::unique_ptr<SyntheticGesture> synthetic_gesture, 382 std::unique_ptr<SyntheticGesture> synthetic_gesture,
382 const base::Callback<void(SyntheticGesture::Result)>& on_complete); 383 const base::Callback<void(SyntheticGesture::Result)>& on_complete);
383 384
384 void CancelUpdateTextDirection(); 385 void CancelUpdateTextDirection();
385 386
386 // Update the composition node of the renderer (or WebKit). 387 // Update the composition node of the renderer (or WebKit).
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_; 982 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_;
982 983
983 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 984 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
984 985
985 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 986 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
986 }; 987 };
987 988
988 } // namespace content 989 } // namespace content
989 990
990 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 991 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698