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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_views.h

Issue 5172009: This adds some plumbing for propagating the reason for a renderer's death (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual bool IsShowing(); 56 virtual bool IsShowing();
57 virtual gfx::Rect GetViewBounds() const; 57 virtual gfx::Rect GetViewBounds() const;
58 virtual void UpdateCursor(const WebCursor& cursor); 58 virtual void UpdateCursor(const WebCursor& cursor);
59 virtual void SetIsLoading(bool is_loading); 59 virtual void SetIsLoading(bool is_loading);
60 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, 60 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type,
61 const gfx::Rect& caret_rect); 61 const gfx::Rect& caret_rect);
62 virtual void ImeCancelComposition(); 62 virtual void ImeCancelComposition();
63 virtual void DidUpdateBackingStore( 63 virtual void DidUpdateBackingStore(
64 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 64 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
65 const std::vector<gfx::Rect>& copy_rects); 65 const std::vector<gfx::Rect>& copy_rects);
66 virtual void RenderViewGone(); 66 virtual void RenderViewGone(base::TerminationStatus status,
67 int error_code);
67 virtual void Destroy(); 68 virtual void Destroy();
68 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} 69 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}
69 virtual void SetTooltipText(const std::wstring& tooltip_text); 70 virtual void SetTooltipText(const std::wstring& tooltip_text);
70 virtual void SelectionChanged(const std::string& text); 71 virtual void SelectionChanged(const std::string& text);
71 virtual void ShowingContextMenu(bool showing); 72 virtual void ShowingContextMenu(bool showing);
72 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 73 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
73 virtual void SetBackground(const SkBitmap& background); 74 virtual void SetBackground(const SkBitmap& background);
74 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); 75 virtual void CreatePluginContainer(gfx::PluginWindowHandle id);
75 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); 76 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id);
76 virtual void SetVisuallyDeemphasized(bool deemphasized); 77 virtual void SetVisuallyDeemphasized(bool deemphasized);
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // If true, fade the render widget when painting it. 153 // If true, fade the render widget when painting it.
153 bool visually_deemphasized_; 154 bool visually_deemphasized_;
154 155
155 // The size that we want the renderer to be. 156 // The size that we want the renderer to be.
156 gfx::Size requested_size_; 157 gfx::Size requested_size_;
157 158
158 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); 159 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews);
159 }; 160 };
160 161
161 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ 162 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698