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

Side by Side Diff: chrome/renderer/render_widget.h

Issue 125280: Send port-closed notification when a frame with ports unloads.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CHROME_RENDERER_RENDER_WIDGET_H_
6 #define CHROME_RENDERER_RENDER_WIDGET_H_ 6 #define CHROME_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <vector> 8 #include <vector>
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 WebKit::WebRect* rect); 89 WebKit::WebRect* rect);
90 virtual void DidMove(WebWidget* webwidget, const WebPluginGeometry& move); 90 virtual void DidMove(WebWidget* webwidget, const WebPluginGeometry& move);
91 virtual void RunModal(WebWidget* webwidget) {} 91 virtual void RunModal(WebWidget* webwidget) {}
92 virtual bool IsHidden(WebWidget* webwidget) { return is_hidden_; } 92 virtual bool IsHidden(WebWidget* webwidget) { return is_hidden_; }
93 virtual WebKit::WebScreenInfo GetScreenInfo(WebWidget* webwidget); 93 virtual WebKit::WebScreenInfo GetScreenInfo(WebWidget* webwidget);
94 94
95 // Invalidates entire widget rect to generate a full repaint. 95 // Invalidates entire widget rect to generate a full repaint.
96 void GenerateFullRepaint(); 96 void GenerateFullRepaint();
97 97
98 // Close the underlying WebWidget. 98 // Close the underlying WebWidget.
99 void Close(); 99 virtual void Close();
100 100
101 protected: 101 protected:
102 // Friend RefCounted so that the dtor can be non-public. Using this class 102 // Friend RefCounted so that the dtor can be non-public. Using this class
103 // without ref-counting is an error. 103 // without ref-counting is an error.
104 friend class base::RefCounted<RenderWidget>; 104 friend class base::RefCounted<RenderWidget>;
105 105
106 RenderWidget(RenderThreadBase* render_thread, bool activatable); 106 RenderWidget(RenderThreadBase* render_thread, bool activatable);
107 virtual ~RenderWidget(); 107 virtual ~RenderWidget();
108 108
109 // Initializes this view with the given opener. CompleteInit must be called 109 // Initializes this view with the given opener. CompleteInit must be called
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 290
291 // While we are waiting for the browser to update window sizes, 291 // While we are waiting for the browser to update window sizes,
292 // we track the pending size temporarily. 292 // we track the pending size temporarily.
293 int pending_window_rect_count_; 293 int pending_window_rect_count_;
294 WebKit::WebRect pending_window_rect_; 294 WebKit::WebRect pending_window_rect_;
295 295
296 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 296 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
297 }; 297 };
298 298
299 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ 299 #endif // CHROME_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698