summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/window/window_gtk.cc3
-rw-r--r--views/window/window_gtk.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc
index 37ff816..b45f435 100644
--- a/views/window/window_gtk.cc
+++ b/views/window/window_gtk.cc
@@ -162,7 +162,6 @@ gfx::NativeWindow WindowGtk::GetNativeWindow() const {
WindowGtk::WindowGtk(WindowDelegate* window_delegate)
: WidgetGtk(TYPE_WINDOW),
is_modal_(false),
- is_always_on_top_(false),
window_delegate_(window_delegate),
non_client_view_(new NonClientView(this)) {
window_delegate_->window_.reset(this);
@@ -176,7 +175,6 @@ void WindowGtk::Init(const gfx::Rect& bounds) {
// TODO(erg): Fix once modality works.
// BecomeModal();
}
- is_always_on_top_ = window_delegate_->IsAlwaysOnTop();
WidgetGtk::Init(bounds, true);
@@ -188,7 +186,6 @@ void WindowGtk::Init(const gfx::Rect& bounds) {
UpdateWindowTitle();
// SetInitialBounds(bounds);
- // InitAlwaysOnTopState();
// if (!IsAppWindow()) {
// notification_registrar_.Add(
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h
index ac33495..f7a5366 100644
--- a/views/window/window_gtk.h
+++ b/views/window/window_gtk.h
@@ -73,9 +73,6 @@ class WindowGtk : public WidgetGtk, public Window {
// destructor.
bool is_modal_;
- // Whether the window is currently always on top.
- bool is_always_on_top_;
-
// Our window delegate.
WindowDelegate* window_delegate_;