Clean up calls like "gfx::Rect(0, 0, size().width(), size().height()".

The caller can use the much shorter "gfx::Rect(size())", since gfx::Rect
has a constructor that just takes a Size.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/2204001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48283 0039d316-1c4b-4281-b951-d872f2087c98
void AutocompletePopupViewGtk::Show(size_t num_results) {
  gint origin_x, origin_y;
  gdk_window_get_origin(location_bar_->window, &origin_x, &origin_y);
  GtkAllocation allocation = location_bar_->allocation;
  int vertical_offset = 0;
  int horizontal_offset = 0;
  if (theme_provider_->UseGtkTheme()) {
    horizontal_offset = kGtkHorizontalOffset;

    vertical_offset = kGtkVerticalOffset;
  }

  gtk_window_move(GTK_WINDOW(window_),
      origin_x + allocation.x - kBorderThickness + horizontal_offset,
      origin_y + allocation.y + allocation.height - kBorderThickness - 1 +
          vertical_offset);
  gtk_widget_set_size_request(window_,
      allocation.width + (kBorderThickness * 2) - (horizontal_offset * 2),
      (num_results * kHeightPerResult) + (kBorderThickness * 2));
   gtk_widget_show(window_);
   StackWindow();
   opened_ = true;
}

void AutocompletePopupViewGtk::Show(size_t num_results) {
  gint origin_x, origin_y;
  gdk_window_get_origin(location_bar_->window, &origin_x, &origin_y);
  GtkAllocation allocation = location_bar_->allocation;
  int vertical_offset = 0;
  int horizontal_offset = 0;
  if (theme_provider_->UseGtkTheme()) {
    horizontal_offset = kGtkHorizontalOffset;

    vertical_offset = kGtkVerticalOffset;
  }

  gtk_window_move(GTK_WINDOW(window_),
      origin_x + allocation.x - kBorderThickness + horizontal_offset,
      origin_y + allocation.y + allocation.height - kBorderThickness - 1 +
          vertical_offset);
  gtk_widget_set_size_request(window_,
      allocation.width + (kBorderThickness * 2) - (horizontal_offset * 2),
      (num_results * kHeightPerResult) + (kBorderThickness * 2));
   gtk_widget_show(window_);
   StackWindow();
   opened_ = true;
}
