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

Unified Diff: chrome/browser/tab_contents/tab_contents.h

Issue 5785001: A NativeViewHostViews class for embedding views inside NativeHostView instances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed the location of the cast as per discussion with ben Created 10 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents.cc » ('j') | chrome/browser/ui/views/dom_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents.cc » ('j') | chrome/browser/ui/views/dom_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698