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

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

Issue 504373002: Don't destroy RenderWidgetCompositor during DoDeferredClose (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 virtual blink::WebRect rootWindowRect(); 164 virtual blink::WebRect rootWindowRect();
165 virtual blink::WebScreenInfo screenInfo(); 165 virtual blink::WebScreenInfo screenInfo();
166 virtual float deviceScaleFactor(); 166 virtual float deviceScaleFactor();
167 virtual void resetInputMethod(); 167 virtual void resetInputMethod();
168 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, 168 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event,
169 bool event_cancelled); 169 bool event_cancelled);
170 virtual void showImeIfNeeded(); 170 virtual void showImeIfNeeded();
171 171
172 // Begins the compositor's scheduler to start producing frames. 172 // Begins the compositor's scheduler to start producing frames.
173 void StartCompositor(); 173 void StartCompositor();
174 174 void StopCompositor();
175 // Stop compositing.
176 void DestroyLayerTreeView();
177 175
178 // Called when a plugin is moved. These events are queued up and sent with 176 // Called when a plugin is moved. These events are queued up and sent with
179 // the next paint or scroll message to the host. 177 // the next paint or scroll message to the host.
180 void SchedulePluginMove(const WebPluginGeometry& move); 178 void SchedulePluginMove(const WebPluginGeometry& move);
181 179
182 // Called when a plugin window has been destroyed, to make sure the currently 180 // Called when a plugin window has been destroyed, to make sure the currently
183 // pending moves don't try to reference it. 181 // pending moves don't try to reference it.
184 void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window); 182 void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window);
185 183
186 RenderWidgetCompositor* compositor() const; 184 RenderWidgetCompositor* compositor() const;
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 ui::MenuSourceType context_menu_source_type_; 746 ui::MenuSourceType context_menu_source_type_;
749 bool has_host_context_menu_location_; 747 bool has_host_context_menu_location_;
750 gfx::Point host_context_menu_location_; 748 gfx::Point host_context_menu_location_;
751 749
752 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 750 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
753 }; 751 };
754 752
755 } // namespace content 753 } // namespace content
756 754
757 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 755 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698