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

Unified Diff: chrome/browser/ui/views/dropdown_bar_host_aura.cc

Issue 664703003: Stash: hacks to get MacViews chrome browser window working (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 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
Index: chrome/browser/ui/views/dropdown_bar_host_aura.cc
diff --git a/chrome/browser/ui/views/dropdown_bar_host_aura.cc b/chrome/browser/ui/views/dropdown_bar_host_aura.cc
index 946181ddf28f9d72a91656877b08e6b6ad64a345..4401440a1b5dee5ec0c90039f2e155de4db963d7 100644
--- a/chrome/browser/ui/views/dropdown_bar_host_aura.cc
+++ b/chrome/browser/ui/views/dropdown_bar_host_aura.cc
@@ -8,16 +8,6 @@
#include "ui/views/view_constants_aura.h"
#include "ui/views/widget/widget.h"
-void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos,
- bool no_redraw) {
- if (!host_->IsVisible())
- host_->GetNativeView()->Show();
- host_->GetNativeView()->SetBounds(new_pos);
-
- // The z-order of |host_| is controlled by the view specified via
- // views::kHostViewKey.
-}
-
void DropdownBarHost::SetHostViewNative(views::View* host_view) {
host_->GetNativeView()->SetProperty(views::kHostViewKey, host_view);
}

Powered by Google App Engine
This is Rietveld 408576698