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

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

Issue 1130233002: Convert main_render_frame_ to raw pointer in RenderViewImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and cleaned up. Created 5 years, 7 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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 // states for the sizes). 901 // states for the sizes).
902 base::OneShotTimer<RenderViewImpl> check_preferred_size_timer_; 902 base::OneShotTimer<RenderViewImpl> check_preferred_size_timer_;
903 903
904 // Bookkeeping to suppress redundant scroll and focus requests for an already 904 // Bookkeeping to suppress redundant scroll and focus requests for an already
905 // scrolled and focused editable node. 905 // scrolled and focused editable node.
906 bool has_scrolled_focused_editable_node_into_rect_; 906 bool has_scrolled_focused_editable_node_into_rect_;
907 gfx::Rect rect_for_scrolled_focused_editable_node_; 907 gfx::Rect rect_for_scrolled_focused_editable_node_;
908 908
909 // Helper objects ------------------------------------------------------------ 909 // Helper objects ------------------------------------------------------------
910 910
911 scoped_ptr<RenderFrameImpl> main_render_frame_; 911 RenderFrameImpl* main_render_frame_;
912 912
913 // The next group of objects all implement RenderViewObserver, so are deleted 913 // The next group of objects all implement RenderViewObserver, so are deleted
914 // along with the RenderView automatically. This is why we just store 914 // along with the RenderView automatically. This is why we just store
915 // weak references. 915 // weak references.
916 916
917 // The speech recognition dispatcher attached to this view, lazily 917 // The speech recognition dispatcher attached to this view, lazily
918 // initialized. 918 // initialized.
919 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; 919 SpeechRecognitionDispatcher* speech_recognition_dispatcher_;
920 920
921 // Mouse Lock dispatcher attached to this view. 921 // Mouse Lock dispatcher attached to this view.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 // use the Observer interface to filter IPC messages and receive frame change 1022 // use the Observer interface to filter IPC messages and receive frame change
1023 // notifications. 1023 // notifications.
1024 // --------------------------------------------------------------------------- 1024 // ---------------------------------------------------------------------------
1025 1025
1026 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1026 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1027 }; 1027 };
1028 1028
1029 } // namespace content 1029 } // namespace content
1030 1030
1031 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1031 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698