| Index: chrome/browser/renderer_host/render_view_host_delegate.h
|
| diff --git a/chrome/browser/renderer_host/render_view_host_delegate.h b/chrome/browser/renderer_host/render_view_host_delegate.h
|
| index 564a6e802fa32d6ad72ff918c2da34b8fb34276a..d9a7d9c3fff69b8b9d1083d8a40bbc229aa462ab 100644
|
| --- a/chrome/browser/renderer_host/render_view_host_delegate.h
|
| +++ b/chrome/browser/renderer_host/render_view_host_delegate.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/string16.h"
|
| +#include "chrome/common/view_types.h"
|
| #include "net/base/load_states.h"
|
| #include "webkit/glue/window_open_disposition.h"
|
|
|
| @@ -373,6 +374,13 @@ class RenderViewHostDelegate {
|
| // not a TabContents, returns NULL.
|
| virtual TabContents* GetAsTabContents();
|
|
|
| + // Return id number of browser window which this object is attached to. If no
|
| + // browser window is attached to, just return -1.
|
| + virtual int GetBrowserWindowID() const = 0;
|
| +
|
| + // Return type of RenderView which is attached with this object.
|
| + virtual ViewType::Type GetRenderViewType() const = 0;
|
| +
|
| // The RenderView is being constructed (message sent to the renderer process
|
| // to construct a RenderView). Now is a good time to send other setup events
|
| // to the RenderView. This precedes any other commands to the RenderView.
|
|
|