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: chrome/browser/renderer_host/render_widget_host_view_win.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: Renaming PROCESS_END_* to EXIT_CODE_* Created 10 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 | 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_WIN_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 virtual bool IsShowing(); 146 virtual bool IsShowing();
147 virtual gfx::Rect GetViewBounds() const; 147 virtual gfx::Rect GetViewBounds() const;
148 virtual void UpdateCursor(const WebCursor& cursor); 148 virtual void UpdateCursor(const WebCursor& cursor);
149 virtual void SetIsLoading(bool is_loading); 149 virtual void SetIsLoading(bool is_loading);
150 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, 150 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type,
151 const gfx::Rect& caret_rect); 151 const gfx::Rect& caret_rect);
152 virtual void ImeCancelComposition(); 152 virtual void ImeCancelComposition();
153 virtual void DidUpdateBackingStore( 153 virtual void DidUpdateBackingStore(
154 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 154 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
155 const std::vector<gfx::Rect>& copy_rects); 155 const std::vector<gfx::Rect>& copy_rects);
156 virtual void RenderViewGone(); 156 virtual void RenderViewGone(base::TerminationStatus status,
157 int error_code);
157 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow 158 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow
158 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); 159 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh);
159 virtual void Destroy(); 160 virtual void Destroy();
160 virtual void SetTooltipText(const std::wstring& tooltip_text); 161 virtual void SetTooltipText(const std::wstring& tooltip_text);
161 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 162 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
162 virtual void SetBackground(const SkBitmap& background); 163 virtual void SetBackground(const SkBitmap& background);
163 virtual bool ContainsNativeView(gfx::NativeView native_view) const; 164 virtual bool ContainsNativeView(gfx::NativeView native_view) const;
164 virtual void SetVisuallyDeemphasized(bool deemphasized); 165 virtual void SetVisuallyDeemphasized(bool deemphasized);
165 166
166 virtual gfx::PluginWindowHandle CreateCompositorHostWindow(); 167 virtual gfx::PluginWindowHandle CreateCompositorHostWindow();
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 // method. 355 // method.
355 WebKit::WebTextInputType text_input_type_; 356 WebKit::WebTextInputType text_input_type_;
356 357
357 ScopedVector<app::ViewProp> props_; 358 ScopedVector<app::ViewProp> props_;
358 scoped_ptr<app::win::ScopedProp> renderer_id_prop_; 359 scoped_ptr<app::win::ScopedProp> renderer_id_prop_;
359 360
360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 361 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
361 }; 362 };
362 363
363 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 364 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698