| Index: chrome/browser/chromeos/frame/panel_browser_view.cc
|
| diff --git a/chrome/browser/chromeos/frame/panel_browser_view.cc b/chrome/browser/chromeos/frame/panel_browser_view.cc
|
| index 47a7d1b7129d18d414372b41ec9b5a5d213498c5..de39b0e8d2715e2698a12db5b259f4110e56cb1f 100644
|
| --- a/chrome/browser/chromeos/frame/panel_browser_view.cc
|
| +++ b/chrome/browser/chromeos/frame/panel_browser_view.cc
|
| @@ -33,9 +33,6 @@ PanelBrowserView::~PanelBrowserView() {}
|
| // PanelBrowserView functions
|
|
|
| void PanelBrowserView::LimitBounds(gfx::Rect* bounds) const {
|
| -#if defined(USE_AURA)
|
| - // TODO(saintlou): Need PureViews
|
| -#else
|
| GdkScreen* screen = gtk_widget_get_screen(GetWidget()->GetNativeView());
|
| int max_width = gdk_screen_get_width(screen) * kPanelMaxWidthFactor;
|
| int max_height = gdk_screen_get_height(screen) * kPanelMaxHeightFactor;
|
| @@ -54,7 +51,6 @@ void PanelBrowserView::LimitBounds(gfx::Rect* bounds) const {
|
| bounds->set_height(kPanelMinHeightPixels);
|
| else if (bounds->height() > max_height)
|
| bounds->set_height(max_height);
|
| -#endif
|
| }
|
|
|
|
|
| @@ -105,12 +101,8 @@ void PanelBrowserView::UpdateTitleBar() {
|
|
|
| void PanelBrowserView::SetCreatorView(PanelBrowserView* creator) {
|
| DCHECK(creator);
|
| -#if defined(USE_AURA)
|
| - // TODO(saintlou): Need PureViews
|
| -#else
|
| GtkWindow* window = creator->GetNativeHandle();
|
| creator_xid_ = ui::GetX11WindowFromGtkWidget(GTK_WIDGET(window));
|
| -#endif
|
| }
|
|
|
| WindowOpenDisposition PanelBrowserView::GetDispositionForPopupBounds(
|
|
|