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

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

Issue 265044: Eliminate WebView::GetDelegate and replace RenderViewSet with a linked list o... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void SchedulePluginMove(const webkit_glue::WebPluginGeometry& move); 90 void SchedulePluginMove(const webkit_glue::WebPluginGeometry& move);
91 91
92 // Called when a plugin window has been destroyed, to make sure the currently 92 // Called when a plugin window has been destroyed, to make sure the currently
93 // pending moves don't try to reference it. 93 // pending moves don't try to reference it.
94 void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window); 94 void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window);
95 95
96 // Invalidates entire widget rect to generate a full repaint. 96 // Invalidates entire widget rect to generate a full repaint.
97 void GenerateFullRepaint(); 97 void GenerateFullRepaint();
98 98
99 // Close the underlying WebWidget. 99 // Close the underlying WebWidget.
100 void Close(); 100 virtual void Close();
101 101
102 protected: 102 protected:
103 // Friend RefCounted so that the dtor can be non-public. Using this class 103 // Friend RefCounted so that the dtor can be non-public. Using this class
104 // without ref-counting is an error. 104 // without ref-counting is an error.
105 friend class base::RefCounted<RenderWidget>; 105 friend class base::RefCounted<RenderWidget>;
106 106
107 RenderWidget(RenderThreadBase* render_thread, bool activatable); 107 RenderWidget(RenderThreadBase* render_thread, bool activatable);
108 virtual ~RenderWidget(); 108 virtual ~RenderWidget();
109 109
110 // Initializes this view with the given opener. CompleteInit must be called 110 // Initializes this view with the given opener. CompleteInit must be called
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 WebKit::WebRect pending_window_rect_; 316 WebKit::WebRect pending_window_rect_;
317 317
318 scoped_ptr<ViewHostMsg_ShowPopup_Params> popup_params_; 318 scoped_ptr<ViewHostMsg_ShowPopup_Params> popup_params_;
319 319
320 scoped_ptr<IPC::Message> pending_input_event_ack_; 320 scoped_ptr<IPC::Message> pending_input_event_ack_;
321 321
322 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 322 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
323 }; 323 };
324 324
325 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ 325 #endif // CHROME_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698