summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 03:14:34 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 03:14:34 +0000
commit6d39eb5bc69e74394eed3bf3351b8923362d3526 (patch)
tree4de2e502e1ea9e057ab3502429056be7c029fa0b /views/window
parentfa25b24346def401910d13b5c7923306f29c127e (diff)
downloadchromium_src-6d39eb5bc69e74394eed3bf3351b8923362d3526.zip
chromium_src-6d39eb5bc69e74394eed3bf3351b8923362d3526.tar.gz
chromium_src-6d39eb5bc69e74394eed3bf3351b8923362d3526.tar.bz2
Revert 77773 and 77774.
BUG=none TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77776 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r--views/window/native_window.h11
-rw-r--r--views/window/window_gtk.cc4
-rw-r--r--views/window/window_gtk.h1
3 files changed, 0 insertions, 16 deletions
diff --git a/views/window/native_window.h b/views/window/native_window.h
index 9236689..6275e1a 100644
--- a/views/window/native_window.h
+++ b/views/window/native_window.h
@@ -6,19 +6,10 @@
#define VIEWS_WIDGET_NATIVE_WINDOW_H_
#pragma once
-#include "ui/gfx/native_widget_types.h"
#include "views/accessibility/accessibility_types.h"
-class SkBitmap;
-
-namespace gfx {
-class Rect;
-class Size;
-}
-
namespace views {
-class NativeWidget;
class NonClientFrameView;
////////////////////////////////////////////////////////////////////////////////
@@ -35,8 +26,6 @@ class NativeWindow {
virtual ~NativeWindow() {}
- virtual Window* GetWindow() = 0;
-
protected:
friend class Window;
diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc
index 5e625a6..a24ce61 100644
--- a/views/window/window_gtk.cc
+++ b/views/window/window_gtk.cc
@@ -300,10 +300,6 @@ const NativeWidget* WindowGtk::AsNativeWidget() const {
return this;
}
-Window* WindowGtk::GetWindow() {
- return this;
-}
-
void WindowGtk::SetWindowBounds(const gfx::Rect& bounds,
gfx::NativeWindow other_window) {
// TODO: need to deal with other_window.
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h
index 5e9915a..1797bf8 100644
--- a/views/window/window_gtk.h
+++ b/views/window/window_gtk.h
@@ -60,7 +60,6 @@ class WindowGtk : public WidgetGtk, public NativeWindow, public Window {
virtual void SetAccessibleState(AccessibilityTypes::State state) OVERRIDE;
virtual NativeWidget* AsNativeWidget() OVERRIDE;
virtual const NativeWidget* AsNativeWidget() const OVERRIDE;
- virtual Window* GetWindow() OVERRIDE;
virtual void SetWindowBounds(const gfx::Rect& bounds,
gfx::NativeWindow other_window) OVERRIDE;
virtual void HideWindow() OVERRIDE;