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

Unified Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc

Issue 6012011: TabContentsViewViews should be used instead of TabContentsViewGtk for TOUCH_UI (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: modified according to comments Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
diff --git a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
index be887cf96c15dfeaf579aebbdd3594caf240c7f2..46a1c794ee8640134d2688e2bef935a73c2e96ae 100644
--- a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
+++ b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
@@ -221,6 +221,10 @@ void TabContentsViewViews::RestoreFocus() {
}
}
+void TabContentsViewViews::GetViewBounds(gfx::Rect* out) const {
+ out->SetRect(x(), y(), width(), height());
+}
+
void TabContentsViewViews::DidChangeBounds(const gfx::Rect& previous,
const gfx::Rect& current) {
if (IsVisibleInRootView())

Powered by Google App Engine
This is Rietveld 408576698