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

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: 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_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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 virtual bool IsShowing(); 143 virtual bool IsShowing();
144 virtual gfx::Rect GetViewBounds() const; 144 virtual gfx::Rect GetViewBounds() const;
145 virtual void UpdateCursor(const WebCursor& cursor); 145 virtual void UpdateCursor(const WebCursor& cursor);
146 virtual void SetIsLoading(bool is_loading); 146 virtual void SetIsLoading(bool is_loading);
147 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, 147 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type,
148 const gfx::Rect& caret_rect); 148 const gfx::Rect& caret_rect);
149 virtual void ImeCancelComposition(); 149 virtual void ImeCancelComposition();
150 virtual void DidUpdateBackingStore( 150 virtual void DidUpdateBackingStore(
151 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 151 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
152 const std::vector<gfx::Rect>& copy_rects); 152 const std::vector<gfx::Rect>& copy_rects);
153 virtual void RenderViewGone(); 153 virtual void RenderViewGone(base::TerminationStatus status,
154 int error_code);
154 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); 155 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh);
155 virtual void Destroy(); 156 virtual void Destroy();
156 virtual void SetTooltipText(const std::wstring& tooltip_text); 157 virtual void SetTooltipText(const std::wstring& tooltip_text);
157 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 158 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
158 virtual void SetBackground(const SkBitmap& background); 159 virtual void SetBackground(const SkBitmap& background);
159 virtual bool ContainsNativeView(gfx::NativeView native_view) const; 160 virtual bool ContainsNativeView(gfx::NativeView native_view) const;
160 virtual void SetVisuallyDeemphasized(bool deemphasized); 161 virtual void SetVisuallyDeemphasized(bool deemphasized);
161 virtual void OnAccessibilityNotifications( 162 virtual void OnAccessibilityNotifications(
162 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); 163 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params);
163 164
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 // Stores the current text input type received by ImeUpdateTextInputState() 340 // Stores the current text input type received by ImeUpdateTextInputState()
340 // method. 341 // method.
341 WebKit::WebTextInputType text_input_type_; 342 WebKit::WebTextInputType text_input_type_;
342 343
343 ScopedVector<app::win::ScopedProp> props_; 344 ScopedVector<app::win::ScopedProp> props_;
344 345
345 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 346 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
346 }; 347 };
347 348
348 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 349 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698