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

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

Issue 155378: Replace ShowAsPopupWithItems to CreatePopupWidgetWithInfo. Also,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
11 #include "webkit/glue/webplugin.h" 11 #include "webkit/glue/webplugin.h"
12 #include "webkit/glue/webwidget_delegate.h" 12 #include "webkit/glue/webwidget_delegate.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 class Rect; 15 class Rect;
16 class Size; 16 class Size;
17 } 17 }
18 namespace IPC { 18 namespace IPC {
19 class Message; 19 class Message;
20 } 20 }
21 21
22 class BackingStore; 22 class BackingStore;
23 class RenderProcessHost; 23 class RenderProcessHost;
24 class RenderWidgetHost; 24 class RenderWidgetHost;
25 class WebCursor; 25 class WebCursor;
26 struct WebMenuItem;
26 27
27 // RenderWidgetHostView is an interface implemented by an object that acts as 28 // RenderWidgetHostView is an interface implemented by an object that acts as
28 // the "View" portion of a RenderWidgetHost. The RenderWidgetHost and its 29 // the "View" portion of a RenderWidgetHost. The RenderWidgetHost and its
29 // associated RenderProcessHost own the "Model" in this case which is the 30 // associated RenderProcessHost own the "Model" in this case which is the
30 // child renderer process. The View is responsible for receiving events from 31 // child renderer process. The View is responsible for receiving events from
31 // the surrounding environment and passing them to the RenderWidgetHost, and 32 // the surrounding environment and passing them to the RenderWidgetHost, and
32 // for actually displaying the content of the RenderWidgetHost when it 33 // for actually displaying the content of the RenderWidgetHost when it
33 // changes. 34 // changes.
34 class RenderWidgetHostView { 35 class RenderWidgetHostView {
35 public: 36 public:
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 185
185 // A custom background to paint behind the web content. This will be tiled 186 // A custom background to paint behind the web content. This will be tiled
186 // horizontally. Can be null, in which case we fall back to painting white. 187 // horizontally. Can be null, in which case we fall back to painting white.
187 SkBitmap background_; 188 SkBitmap background_;
188 189
189 private: 190 private:
190 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 191 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
191 }; 192 };
192 193
193 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 194 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698