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

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

Issue 157003005: Replace std::map with base::SmallMap in ui::LatencyInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 void ResizeSynchronously(const gfx::Rect& new_position); 329 void ResizeSynchronously(const gfx::Rect& new_position);
330 virtual void SetScreenMetricsEmulationParameters( 330 virtual void SetScreenMetricsEmulationParameters(
331 float device_scale_factor, 331 float device_scale_factor,
332 const gfx::Point& root_layer_offset, 332 const gfx::Point& root_layer_offset,
333 float root_layer_scale); 333 float root_layer_scale);
334 void SetExternalPopupOriginAdjustmentsForEmulation( 334 void SetExternalPopupOriginAdjustmentsForEmulation(
335 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); 335 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator);
336 336
337 // RenderWidget IPC message handlers 337 // RenderWidget IPC message handlers
338 void OnHandleInputEvent(const blink::WebInputEvent* event, 338 void OnHandleInputEvent(const blink::WebInputEvent* event,
339 ui::LatencyInfo latency_info, 339 const ui::LatencyInfo& latency_info,
340 bool keyboard_shortcut); 340 bool keyboard_shortcut);
341 void OnCursorVisibilityChange(bool is_visible); 341 void OnCursorVisibilityChange(bool is_visible);
342 void OnMouseCaptureLost(); 342 void OnMouseCaptureLost();
343 virtual void OnSetFocus(bool enable); 343 virtual void OnSetFocus(bool enable);
344 void OnClose(); 344 void OnClose();
345 void OnCreatingNewAck(); 345 void OnCreatingNewAck();
346 virtual void OnResize(const ViewMsg_Resize_Params& params); 346 virtual void OnResize(const ViewMsg_Resize_Params& params);
347 void OnChangeResizeRect(const gfx::Rect& resizer_rect); 347 void OnChangeResizeRect(const gfx::Rect& resizer_rect);
348 virtual void OnWasHidden(); 348 virtual void OnWasHidden();
349 virtual void OnWasShown(bool needs_repainting); 349 virtual void OnWasShown(bool needs_repainting);
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 801
802 ui::MenuSourceType context_menu_source_type_; 802 ui::MenuSourceType context_menu_source_type_;
803 gfx::Point touch_editing_context_menu_location_; 803 gfx::Point touch_editing_context_menu_location_;
804 804
805 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 805 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
806 }; 806 };
807 807
808 } // namespace content 808 } // namespace content
809 809
810 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 810 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/input_router_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698