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

Unified Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.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_gtk.cc
diff --git a/chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.cc b/chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.cc
index 490c7a83f57dd9b040c4819a3d99538bb27b11d5..a3dfca2da40d707eebe9840c3fa2b16524bd4ae4 100644
--- a/chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.cc
+++ b/chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.cc
@@ -323,6 +323,10 @@ void TabContentsViewGtk::RestoreFocus() {
}
}
+void TabContentsViewGtk::GetViewBounds(gfx::Rect* out) const {
+ GetBounds(out, true);
+}
+
void TabContentsViewGtk::UpdateDragCursor(WebDragOperation operation) {
if (drag_dest_.get())
drag_dest_->UpdateDragStatus(operation);

Powered by Google App Engine
This is Rietveld 408576698