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

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

Issue 1391843006: Embed keyboard shortcut bit in WebKeyboardEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mac test compile Created 5 years, 2 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_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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 virtual void SetScreenMetricsEmulationParameters( 403 virtual void SetScreenMetricsEmulationParameters(
404 bool enabled, 404 bool enabled,
405 const blink::WebDeviceEmulationParams& params); 405 const blink::WebDeviceEmulationParams& params);
406 #if defined(OS_MACOSX) || defined(OS_ANDROID) 406 #if defined(OS_MACOSX) || defined(OS_ANDROID)
407 void SetExternalPopupOriginAdjustmentsForEmulation( 407 void SetExternalPopupOriginAdjustmentsForEmulation(
408 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); 408 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator);
409 #endif 409 #endif
410 410
411 // RenderWidget IPC message handlers 411 // RenderWidget IPC message handlers
412 void OnHandleInputEvent(const blink::WebInputEvent* event, 412 void OnHandleInputEvent(const blink::WebInputEvent* event,
413 const ui::LatencyInfo& latency_info, 413 const ui::LatencyInfo& latency_info);
414 bool keyboard_shortcut);
415 void OnCursorVisibilityChange(bool is_visible); 414 void OnCursorVisibilityChange(bool is_visible);
416 void OnMouseCaptureLost(); 415 void OnMouseCaptureLost();
417 virtual void OnSetFocus(bool enable); 416 virtual void OnSetFocus(bool enable);
418 void OnClose(); 417 void OnClose();
419 void OnCreatingNewAck(); 418 void OnCreatingNewAck();
420 virtual void OnResize(const ViewMsg_Resize_Params& params); 419 virtual void OnResize(const ViewMsg_Resize_Params& params);
421 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); 420 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params);
422 void OnDisableDeviceEmulation(); 421 void OnDisableDeviceEmulation();
423 void OnColorProfile(const std::vector<char>& color_profile); 422 void OnColorProfile(const std::vector<char>& color_profile);
424 void OnChangeResizeRect(const gfx::Rect& resizer_rect); 423 void OnChangeResizeRect(const gfx::Rect& resizer_rect);
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 ui::MenuSourceType context_menu_source_type_; 793 ui::MenuSourceType context_menu_source_type_;
795 bool has_host_context_menu_location_; 794 bool has_host_context_menu_location_;
796 gfx::Point host_context_menu_location_; 795 gfx::Point host_context_menu_location_;
797 796
798 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 797 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
799 }; 798 };
800 799
801 } // namespace content 800 } // namespace content
802 801
803 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 802 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/input/input_event_filter_unittest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698