diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-17 01:36:03 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-17 01:36:03 +0000 |
commit | e044f8df992fcb9f289b98115d0722dcd8cea103 (patch) | |
tree | 6844ce69dfaf4cbdfe0e540e6647ef60b3c22451 /chrome/views/widget.h | |
parent | 81514c583f3c281ddbb72d13a021bfed58f7e3c7 (diff) | |
download | chromium_src-e044f8df992fcb9f289b98115d0722dcd8cea103.zip chromium_src-e044f8df992fcb9f289b98115d0722dcd8cea103.tar.gz chromium_src-e044f8df992fcb9f289b98115d0722dcd8cea103.tar.bz2 |
Revert "Add #ifdefs to the views/ code and move windows specific code
into their own files to get some files compiling."
Conflicts with something that went in in the interim...
Review URL: http://codereview.chromium.org/18187
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8251 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/widget.h')
-rw-r--r-- | chrome/views/widget.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/views/widget.h b/chrome/views/widget.h index d135860..4192912 100644 --- a/chrome/views/widget.h +++ b/chrome/views/widget.h @@ -5,10 +5,8 @@ #ifndef CHROME_VIEWS_WIDGET_H_ #define CHROME_VIEWS_WIDGET_H_ -#if defined(OS_WIN) // TODO(maruel): Remove once HWND is abstracted. #include <windows.h> -#endif namespace gfx { class Rect; @@ -50,10 +48,8 @@ class Widget { // the window should also become the active window. virtual void MoveToFront(bool should_activate) = 0; -#if defined(OS_WIN) // Returns the Window HWND associated with this Widget. virtual HWND GetHWND() const = 0; -#endif // Forces a paint of a specified rectangle immediately. virtual void PaintNow(const gfx::Rect& update_rect) = 0; |