Index: chrome/browser/tab_contents/tab_contents.h |
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h |
index 3ae7941ed04793e0b28b4b0e28216120695f1066..e26d2552e1b569b69613770fa7e8e0b74ba7cc88 100644 |
--- a/chrome/browser/tab_contents/tab_contents.h |
+++ b/chrome/browser/tab_contents/tab_contents.h |
@@ -58,6 +58,10 @@ namespace webkit_glue { |
struct PasswordForm; |
} |
+namespace views { |
Ben Goodger (Google)
2010/12/15 18:32:28
This is no longer needed.
Alex Nicolaou
2010/12/16 22:34:48
Done.
|
+class View; |
+} |
+ |
class AutocompleteHistoryManager; |
class AutoFillManager; |
class BlockedContentContainer; |
@@ -451,6 +455,9 @@ class TabContents : public PageNavigator, |
// automation in the context of the UI, this is required to be implemented. |
gfx::NativeView GetNativeView() const; |
+ // Returns the TabContentsView associated with this TabContents. |
+ TabContentsView* GetTabContentsView(); |
Ben Goodger (Google)
2010/12/15 18:32:28
TabContentsView* view() const { return view_.get()
Alex Nicolaou
2010/12/16 22:34:48
Oh <duh> I didn't see this was already in the file
|
+ |
// Returns the bounds of this TabContents in the screen coordinate system. |
void GetContainerBounds(gfx::Rect *out) const; |