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

Unified Diff: chrome/browser/views/blocked_popup_container_view_win.cc

Issue 118480: GTK: Implement BlockedPopupContainerView for linux. (Closed)
Patch Set: Fix for the CreateBorderBin case. Created 11 years, 6 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
« no previous file with comments | « chrome/browser/views/blocked_popup_container_view_win.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/blocked_popup_container_view_win.cc
diff --git a/chrome/browser/views/blocked_popup_container_view_win.cc b/chrome/browser/views/blocked_popup_container_view_win.cc
index 89a06944c50cbd68def73bfac0b33744530ff5e3..8e2837ef76f788759416f6c2f2cb7d132c13bd63 100644
--- a/chrome/browser/views/blocked_popup_container_view_win.cc
+++ b/chrome/browser/views/blocked_popup_container_view_win.cc
@@ -344,9 +344,6 @@ void BlockedPopupContainerViewWin::SetPosition() {
gfx::Size size = container_view_->GetPreferredSize();
int base_x = anchor_point.x() - size.width();
int base_y = anchor_point.y() - size.height();
- // The bounds we report through the automation system are the real bounds;
- // the animation is short lived...
- bounds_ = gfx::Rect(gfx::Point(base_x, base_y), size);
int real_height =
static_cast<int>(size.height() * slide_animation_->GetCurrentValue());
« no previous file with comments | « chrome/browser/views/blocked_popup_container_view_win.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698