summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 21:49:13 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 21:49:13 +0000
commitadd1673cb82e5f6fc2f5bc3bcb99959611a9b38e (patch)
tree3f9e0f380e111a618e45394db35ef806a50a0864 /views
parent5623c4aa4307e2a4843ffca845d8bc2c932d110a (diff)
downloadchromium_src-add1673cb82e5f6fc2f5bc3bcb99959611a9b38e.zip
chromium_src-add1673cb82e5f6fc2f5bc3bcb99959611a9b38e.tar.gz
chromium_src-add1673cb82e5f6fc2f5bc3bcb99959611a9b38e.tar.bz2
Fix bustage... some more traces of always-on-top I forgot to remove.
TBR=jcampan Review URL: http://codereview.chromium.org/114028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16108 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-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_;