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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 536063002: Clean up RenderWidgetHostView destruction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Safer scheme 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // Indicates whether the page has finished loading. 214 // Indicates whether the page has finished loading.
215 virtual void SetIsLoading(bool is_loading) = 0; 215 virtual void SetIsLoading(bool is_loading) = 0;
216 216
217 // Updates the type of the input method attached to the view. 217 // Updates the type of the input method attached to the view.
218 virtual void TextInputStateChanged( 218 virtual void TextInputStateChanged(
219 const ViewHostMsg_TextInputState_Params& params) = 0; 219 const ViewHostMsg_TextInputState_Params& params) = 0;
220 220
221 // Cancel the ongoing composition of the input method attached to the view. 221 // Cancel the ongoing composition of the input method attached to the view.
222 virtual void ImeCancelComposition() = 0; 222 virtual void ImeCancelComposition() = 0;
223 223
224 // Notifies the View that the renderer has ceased to exist.
225 virtual void RenderProcessGone(base::TerminationStatus status,
226 int error_code) = 0;
227
228 // Tells the View to destroy itself. 224 // Tells the View to destroy itself.
229 virtual void Destroy() = 0; 225 virtual void Destroy() = 0;
230 226
231 // Tells the View that the tooltip text for the current mouse position over 227 // Tells the View that the tooltip text for the current mouse position over
232 // the page has changed. 228 // the page has changed.
233 virtual void SetTooltipText(const base::string16& tooltip_text) = 0; 229 virtual void SetTooltipText(const base::string16& tooltip_text) = 0;
234 230
235 // Notifies the View that the renderer selection bounds has changed. 231 // Notifies the View that the renderer selection bounds has changed.
236 // |start_rect| and |end_rect| are the bounds end of the selection in the 232 // |start_rect| and |end_rect| are the bounds end of the selection in the
237 // coordinate system of the render view. |start_direction| and |end_direction| 233 // coordinate system of the render view. |start_direction| and |end_direction|
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 uint32 renderer_frame_number_; 419 uint32 renderer_frame_number_;
424 420
425 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 421 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
426 422
427 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
428 }; 424 };
429 425
430 } // namespace content 426 } // namespace content
431 427
432 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 428 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698