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

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

Issue 2637403012: Suppress ET_MOUSE_MOVE when the mouse hasn't moved on Windows. (Closed)
Patch Set: Move to render_host_widget Created 3 years, 11 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_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 bool legacy_window_destroyed_; 558 bool legacy_window_destroyed_;
559 559
560 // Contains a copy of the last context menu request parameters. Only set when 560 // Contains a copy of the last context menu request parameters. Only set when
561 // we receive a request to show the context menu on a long press. 561 // we receive a request to show the context menu on a long press.
562 std::unique_ptr<ContextMenuParams> last_context_menu_params_; 562 std::unique_ptr<ContextMenuParams> last_context_menu_params_;
563 563
564 // Set to true if we requested the on screen keyboard to be displayed. 564 // Set to true if we requested the on screen keyboard to be displayed.
565 bool virtual_keyboard_requested_; 565 bool virtual_keyboard_requested_;
566 566
567 std::unique_ptr<ui::OnScreenKeyboardObserver> keyboard_observer_; 567 std::unique_ptr<ui::OnScreenKeyboardObserver> keyboard_observer_;
568
569 std::unique_ptr<ui::EventHandler> event_filter_for_mouse_move_;
570
568 #endif 571 #endif
569 572
570 bool has_snapped_to_boundary_; 573 bool has_snapped_to_boundary_;
571 574
572 // The last scroll offset of the view. 575 // The last scroll offset of the view.
573 gfx::Vector2dF last_scroll_offset_; 576 gfx::Vector2dF last_scroll_offset_;
574 577
575 gfx::Insets insets_; 578 gfx::Insets insets_;
576 579
577 std::vector<ui::LatencyInfo> software_latency_info_; 580 std::vector<ui::LatencyInfo> software_latency_info_;
(...skipping 16 matching lines...) Expand all
594 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; 597 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_;
595 598
596 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 599 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
597 600
598 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 601 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
599 }; 602 };
600 603
601 } // namespace content 604 } // namespace content
602 605
603 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 606 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698