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

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

Issue 1372253002: gfx: Make conversions from gfx::Point to PointF explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pointfconvert-gfx: . 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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 // current one. The size is the number of pending ACKs plus one, since we 772 // current one. The size is the number of pending ACKs plus one, since we
773 // intentionally keep the last ack'd value to know what the browser is 773 // intentionally keep the last ack'd value to know what the browser is
774 // currently aware of. 774 // currently aware of.
775 std::deque<blink::WebTextInputInfo> text_input_info_history_; 775 std::deque<blink::WebTextInputInfo> text_input_info_history_;
776 #endif 776 #endif
777 777
778 scoped_ptr<ScreenMetricsEmulator> screen_metrics_emulator_; 778 scoped_ptr<ScreenMetricsEmulator> screen_metrics_emulator_;
779 779
780 // Popups may be displaced when screen metrics emulation is enabled. 780 // Popups may be displaced when screen metrics emulation is enabled.
781 // These values are used to properly adjust popup position. 781 // These values are used to properly adjust popup position.
782 gfx::PointF popup_view_origin_for_emulation_; 782 gfx::Point popup_view_origin_for_emulation_;
783 gfx::PointF popup_screen_origin_for_emulation_; 783 gfx::Point popup_screen_origin_for_emulation_;
784 float popup_origin_scale_for_emulation_; 784 float popup_origin_scale_for_emulation_;
785 785
786 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_; 786 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_;
787 scoped_ptr<ResizingModeSelector> resizing_mode_selector_; 787 scoped_ptr<ResizingModeSelector> resizing_mode_selector_;
788 788
789 // Lists of RenderFrameProxy objects that need to be notified of 789 // Lists of RenderFrameProxy objects that need to be notified of
790 // compositing-related events (e.g. DidCommitCompositorFrame). 790 // compositing-related events (e.g. DidCommitCompositorFrame).
791 base::ObserverList<RenderFrameProxy> render_frame_proxies_; 791 base::ObserverList<RenderFrameProxy> render_frame_proxies_;
792 #if defined(VIDEO_HOLE) 792 #if defined(VIDEO_HOLE)
793 base::ObserverList<RenderFrameImpl> video_hole_frames_; 793 base::ObserverList<RenderFrameImpl> video_hole_frames_;
794 #endif // defined(VIDEO_HOLE) 794 #endif // defined(VIDEO_HOLE)
795 795
796 // A list of RenderFrames associated with this RenderWidget. Notifications 796 // A list of RenderFrames associated with this RenderWidget. Notifications
797 // are sent to each frame in the list for events such as changing 797 // are sent to each frame in the list for events such as changing
798 // visibility state for example. 798 // visibility state for example.
799 base::ObserverList<RenderFrameImpl> render_frames_; 799 base::ObserverList<RenderFrameImpl> render_frames_;
800 800
801 ui::MenuSourceType context_menu_source_type_; 801 ui::MenuSourceType context_menu_source_type_;
802 bool has_host_context_menu_location_; 802 bool has_host_context_menu_location_;
803 gfx::Point host_context_menu_location_; 803 gfx::Point host_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

Powered by Google App Engine
This is Rietveld 408576698