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

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: Fix test Created 3 years, 10 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 bool legacy_window_destroyed_; 551 bool legacy_window_destroyed_;
552 552
553 // Contains a copy of the last context menu request parameters. Only set when 553 // Contains a copy of the last context menu request parameters. Only set when
554 // we receive a request to show the context menu on a long press. 554 // we receive a request to show the context menu on a long press.
555 std::unique_ptr<ContextMenuParams> last_context_menu_params_; 555 std::unique_ptr<ContextMenuParams> last_context_menu_params_;
556 556
557 // Set to true if we requested the on screen keyboard to be displayed. 557 // Set to true if we requested the on screen keyboard to be displayed.
558 bool virtual_keyboard_requested_; 558 bool virtual_keyboard_requested_;
559 559
560 std::unique_ptr<ui::OnScreenKeyboardObserver> keyboard_observer_; 560 std::unique_ptr<ui::OnScreenKeyboardObserver> keyboard_observer_;
561
562 gfx::Point last_mouse_move_location_;
561 #endif 563 #endif
562 564
563 bool has_snapped_to_boundary_; 565 bool has_snapped_to_boundary_;
564 566
565 // The last scroll offset of the view. 567 // The last scroll offset of the view.
566 gfx::Vector2dF last_scroll_offset_; 568 gfx::Vector2dF last_scroll_offset_;
567 569
568 gfx::Insets insets_; 570 gfx::Insets insets_;
569 571
570 std::vector<ui::LatencyInfo> software_latency_info_; 572 std::vector<ui::LatencyInfo> software_latency_info_;
(...skipping 16 matching lines...) Expand all
587 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; 589 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_;
588 590
589 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 591 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
590 592
591 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 593 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
592 }; 594 };
593 595
594 } // namespace content 596 } // namespace content
595 597
596 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 598 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698