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

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

Issue 1528153004: Look Up on Force Touch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 bool enabled, 414 bool enabled,
415 const blink::WebDeviceEmulationParams& params); 415 const blink::WebDeviceEmulationParams& params);
416 #if defined(OS_MACOSX) || defined(OS_ANDROID) 416 #if defined(OS_MACOSX) || defined(OS_ANDROID)
417 void SetExternalPopupOriginAdjustmentsForEmulation( 417 void SetExternalPopupOriginAdjustmentsForEmulation(
418 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); 418 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator);
419 #endif 419 #endif
420 420
421 // RenderWidget IPC message handlers 421 // RenderWidget IPC message handlers
422 void OnHandleInputEvent(const blink::WebInputEvent* event, 422 void OnHandleInputEvent(const blink::WebInputEvent* event,
423 const ui::LatencyInfo& latency_info); 423 const ui::LatencyInfo& latency_info);
424 void OnSelectWordIfAnyAtCoordinates(float x, float y);
424 void OnCursorVisibilityChange(bool is_visible); 425 void OnCursorVisibilityChange(bool is_visible);
425 void OnMouseCaptureLost(); 426 void OnMouseCaptureLost();
426 virtual void OnSetFocus(bool enable); 427 virtual void OnSetFocus(bool enable);
427 void OnClose(); 428 void OnClose();
428 void OnCreatingNewAck(); 429 void OnCreatingNewAck();
429 virtual void OnResize(const ViewMsg_Resize_Params& params); 430 virtual void OnResize(const ViewMsg_Resize_Params& params);
430 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); 431 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params);
431 void OnDisableDeviceEmulation(); 432 void OnDisableDeviceEmulation();
432 void OnColorProfile(const std::vector<char>& color_profile); 433 void OnColorProfile(const std::vector<char>& color_profile);
433 void OnChangeResizeRect(const gfx::Rect& resizer_rect); 434 void OnChangeResizeRect(const gfx::Rect& resizer_rect);
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 755
755 scoped_ptr<scheduler::RenderWidgetSchedulingState> 756 scoped_ptr<scheduler::RenderWidgetSchedulingState>
756 render_widget_scheduling_state_; 757 render_widget_scheduling_state_;
757 758
758 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 759 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
759 }; 760 };
760 761
761 } // namespace content 762 } // namespace content
762 763
763 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 764 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698