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

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

Issue 9225050: Defer render_widget draw until host window is available (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aura sets host_window_ to NULL, so check for set-ness instead of null-ness Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/render_view_impl.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_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 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 bool cached_has_main_frame_horizontal_scrollbar_; 1129 bool cached_has_main_frame_horizontal_scrollbar_;
1130 bool cached_has_main_frame_vertical_scrollbar_; 1130 bool cached_has_main_frame_vertical_scrollbar_;
1131 1131
1132 #if defined(OS_MACOSX) 1132 #if defined(OS_MACOSX)
1133 // Track the fake plugin window handles allocated on the browser side for 1133 // Track the fake plugin window handles allocated on the browser side for
1134 // the accelerated compositor and (currently) accelerated plugins so that 1134 // the accelerated compositor and (currently) accelerated plugins so that
1135 // we can discard them when the view goes away. 1135 // we can discard them when the view goes away.
1136 std::set<gfx::PluginWindowHandle> fake_plugin_window_handles_; 1136 std::set<gfx::PluginWindowHandle> fake_plugin_window_handles_;
1137 #endif 1137 #endif
1138 1138
1139 // When this view is composited, the context used for compositing may or may
1140 // not support the GL_CHROMIUM_swapbuffers_complete_callback extension. Since
1141 // querying for the existence of this extension is expensive we cache the
1142 // result. These are used to implement SupportsAsynchronousSwapBuffers().
1143 bool context_has_swapbuffers_complete_callback_;
1144 bool queried_for_swapbuffers_complete_callback_;
1145
1139 // Helper objects ------------------------------------------------------------ 1146 // Helper objects ------------------------------------------------------------
1140 1147
1141 RendererWebCookieJarImpl cookie_jar_; 1148 RendererWebCookieJarImpl cookie_jar_;
1142 1149
1143 // The next group of objects all implement RenderViewObserver, so are deleted 1150 // The next group of objects all implement RenderViewObserver, so are deleted
1144 // along with the RenderView automatically. This is why we just store 1151 // along with the RenderView automatically. This is why we just store
1145 // weak references. 1152 // weak references.
1146 1153
1147 // Holds a reference to the service which provides desktop notifications. 1154 // Holds a reference to the service which provides desktop notifications.
1148 NotificationProvider* notification_provider_; 1155 NotificationProvider* notification_provider_;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 // bunch of stuff, you should probably create a helper class and put your 1272 // bunch of stuff, you should probably create a helper class and put your
1266 // data and methods on that to avoid bloating RenderView more. You can 1273 // data and methods on that to avoid bloating RenderView more. You can
1267 // use the Observer interface to filter IPC messages and receive frame change 1274 // use the Observer interface to filter IPC messages and receive frame change
1268 // notifications. 1275 // notifications.
1269 // --------------------------------------------------------------------------- 1276 // ---------------------------------------------------------------------------
1270 1277
1271 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1278 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1272 }; 1279 };
1273 1280
1274 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1281 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698