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

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

Issue 1453803002: Separate RenderViewHost from RenderWidgetHost, part 10: shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nick's nits Created 5 years 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 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 virtual void TextInputStateChanged( 247 virtual void TextInputStateChanged(
248 const ViewHostMsg_TextInputState_Params& params) = 0; 248 const ViewHostMsg_TextInputState_Params& params) = 0;
249 249
250 // Cancel the ongoing composition of the input method attached to the view. 250 // Cancel the ongoing composition of the input method attached to the view.
251 virtual void ImeCancelComposition() = 0; 251 virtual void ImeCancelComposition() = 0;
252 252
253 // Notifies the View that the renderer has ceased to exist. 253 // Notifies the View that the renderer has ceased to exist.
254 virtual void RenderProcessGone(base::TerminationStatus status, 254 virtual void RenderProcessGone(base::TerminationStatus status,
255 int error_code) = 0; 255 int error_code) = 0;
256 256
257 // Notifies the View that the renderer's host has ceased to exist.
258 // The default implementation of this is a no-op. This hack exists to fix
259 // a crash on the branch.
260 // TODO(ccameron): Clean this up.
261 // http://crbug.com/404828
262 virtual void RenderWidgetHostGone() {}
263
264 // Tells the View to destroy itself. 257 // Tells the View to destroy itself.
265 virtual void Destroy() = 0; 258 virtual void Destroy() = 0;
266 259
267 // Tells the View that the tooltip text for the current mouse position over 260 // Tells the View that the tooltip text for the current mouse position over
268 // the page has changed. 261 // the page has changed.
269 virtual void SetTooltipText(const base::string16& tooltip_text) = 0; 262 virtual void SetTooltipText(const base::string16& tooltip_text) = 0;
270 263
271 // Notifies the View that the renderer selection bounds has changed. 264 // Notifies the View that the renderer selection bounds has changed.
272 // |start_rect| and |end_rect| are the bounds end of the selection in the 265 // |start_rect| and |end_rect| are the bounds end of the selection in the
273 // coordinate system of the render view. |start_direction| and |end_direction| 266 // coordinate system of the render view. |start_direction| and |end_direction|
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 base::OneShotTimer flush_input_timer_; 437 base::OneShotTimer flush_input_timer_;
445 438
446 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 439 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
447 440
448 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 441 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
449 }; 442 };
450 443
451 } // namespace content 444 } // namespace content
452 445
453 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 446 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698