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

Unified Diff: chrome/browser/ui/views/dom_view.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 up the patchset to not include files that I pulled in by accident in #3 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/ui/views/dom_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/dom_view.h
diff --git a/chrome/browser/ui/views/dom_view.h b/chrome/browser/ui/views/dom_view.h
index 27d94342321e0ae0068ba2718dce6665329d48d8..7a95d30d84cad9a9afcdc9dcfaefc1964ff27425 100644
--- a/chrome/browser/ui/views/dom_view.h
+++ b/chrome/browser/ui/views/dom_view.h
@@ -43,6 +43,11 @@ class DOMView : public views::NativeViewHost {
virtual void ViewHierarchyChanged(bool is_add, views::View* parent,
views::View* child);
+ // AttachTabContents calls Attach to hook up the NativeViewHost. This is
+ // here because depending on whether this is a touch build or not the
+ // implementation varies slightly, while Detach is the same in both cases.
+ void AttachTabContents();
+
// Returns new allocated TabContents instance, caller is responsible deleting.
// Override in derived classes to replace TabContents with derivative.
virtual TabContents* CreateTabContents(Profile* profile,
« no previous file with comments | « no previous file | chrome/browser/ui/views/dom_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698