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

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

Issue 3386014: This adds some plumbing for propagating the status and error code of a (Closed)
Patch Set: Fixed Mac code to handle both SEGV and BUS Created 10 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) 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_GTK_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gdk/gdk.h> 9 #include <gdk/gdk.h>
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual bool IsShowing(); 68 virtual bool IsShowing();
69 virtual gfx::Rect GetViewBounds() const; 69 virtual gfx::Rect GetViewBounds() const;
70 virtual void UpdateCursor(const WebCursor& cursor); 70 virtual void UpdateCursor(const WebCursor& cursor);
71 virtual void SetIsLoading(bool is_loading); 71 virtual void SetIsLoading(bool is_loading);
72 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, 72 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type,
73 const gfx::Rect& caret_rect); 73 const gfx::Rect& caret_rect);
74 virtual void ImeCancelComposition(); 74 virtual void ImeCancelComposition();
75 virtual void DidUpdateBackingStore( 75 virtual void DidUpdateBackingStore(
76 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 76 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
77 const std::vector<gfx::Rect>& copy_rects); 77 const std::vector<gfx::Rect>& copy_rects);
78 virtual void RenderViewGone(); 78 virtual void RenderViewGone(base::TerminationStatus status,
79 int error_code);
79 virtual void Destroy(); 80 virtual void Destroy();
80 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} 81 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}
81 virtual void SetTooltipText(const std::wstring& tooltip_text); 82 virtual void SetTooltipText(const std::wstring& tooltip_text);
82 virtual void SelectionChanged(const std::string& text); 83 virtual void SelectionChanged(const std::string& text);
83 virtual void ShowingContextMenu(bool showing); 84 virtual void ShowingContextMenu(bool showing);
84 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 85 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
85 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size); 86 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size);
86 virtual void SetBackground(const SkBitmap& background); 87 virtual void SetBackground(const SkBitmap& background);
87 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); 88 virtual void CreatePluginContainer(gfx::PluginWindowHandle id);
88 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); 89 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id);
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // indicate the top edge, positive the bottom. 218 // indicate the top edge, positive the bottom.
218 int dragged_at_vertical_edge_; 219 int dragged_at_vertical_edge_;
219 220
220 #if defined(OS_CHROMEOS) 221 #if defined(OS_CHROMEOS)
221 // Custimized tooltip window. 222 // Custimized tooltip window.
222 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; 223 scoped_ptr<views::TooltipWindowGtk> tooltip_window_;
223 #endif // defined(OS_CHROMEOS) 224 #endif // defined(OS_CHROMEOS)
224 }; 225 };
225 226
226 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 227 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view.h ('k') | chrome/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698