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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 | « content/renderer/render_view_impl.h ('k') | device/bluetooth/bluetooth_adapter.h » ('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_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 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 // These values are used to properly adjust popup position. 792 // These values are used to properly adjust popup position.
793 gfx::PointF popup_view_origin_for_emulation_; 793 gfx::PointF popup_view_origin_for_emulation_;
794 gfx::PointF popup_screen_origin_for_emulation_; 794 gfx::PointF popup_screen_origin_for_emulation_;
795 float popup_origin_scale_for_emulation_; 795 float popup_origin_scale_for_emulation_;
796 796
797 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_; 797 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_;
798 scoped_ptr<ResizingModeSelector> resizing_mode_selector_; 798 scoped_ptr<ResizingModeSelector> resizing_mode_selector_;
799 799
800 // Lists of RenderFrameProxy objects that need to be notified of 800 // Lists of RenderFrameProxy objects that need to be notified of
801 // compositing-related events (e.g. DidCommitCompositorFrame). 801 // compositing-related events (e.g. DidCommitCompositorFrame).
802 ObserverList<RenderFrameProxy> render_frame_proxies_; 802 base::ObserverList<RenderFrameProxy> render_frame_proxies_;
803 #if defined(VIDEO_HOLE) 803 #if defined(VIDEO_HOLE)
804 ObserverList<RenderFrameImpl> video_hole_frames_; 804 base::ObserverList<RenderFrameImpl> video_hole_frames_;
805 #endif // defined(VIDEO_HOLE) 805 #endif // defined(VIDEO_HOLE)
806 806
807 // A list of RenderFrames associated with this RenderWidget. Notifications 807 // A list of RenderFrames associated with this RenderWidget. Notifications
808 // are sent to each frame in the list for events such as changing 808 // are sent to each frame in the list for events such as changing
809 // visibility state for example. 809 // visibility state for example.
810 ObserverList<RenderFrameImpl> render_frames_; 810 base::ObserverList<RenderFrameImpl> render_frames_;
811 811
812 ui::MenuSourceType context_menu_source_type_; 812 ui::MenuSourceType context_menu_source_type_;
813 bool has_host_context_menu_location_; 813 bool has_host_context_menu_location_;
814 gfx::Point host_context_menu_location_; 814 gfx::Point host_context_menu_location_;
815 815
816 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 816 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
817 }; 817 };
818 818
819 } // namespace content 819 } // namespace content
820 820
821 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 821 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | device/bluetooth/bluetooth_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698