diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 03:55:47 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 03:55:47 +0000 |
commit | 542bdfe5dde965d920bfca1328d0f6e70e8dbb9b (patch) | |
tree | 69f191ddc519eef4fd2ad6c0fae3fc3e3f9f780e /gfx | |
parent | 4e212c3b271b13d22156945997443d00feed6e02 (diff) | |
download | chromium_src-542bdfe5dde965d920bfca1328d0f6e70e8dbb9b.zip chromium_src-542bdfe5dde965d920bfca1328d0f6e70e8dbb9b.tar.gz chromium_src-542bdfe5dde965d920bfca1328d0f6e70e8dbb9b.tar.bz2 |
Revert 67662 - FBTF: Remove unneeded headers from base/ (part 10)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5139006
TBR=thestig@chromium.org
Review URL: http://codereview.chromium.org/5270010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67674 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/window_impl.cc | 7 | ||||
-rw-r--r-- | gfx/window_impl.h | 8 |
2 files changed, 6 insertions, 9 deletions
diff --git a/gfx/window_impl.cc b/gfx/window_impl.cc index 22d7e7a..74e0e20 100644 --- a/gfx/window_impl.cc +++ b/gfx/window_impl.cc @@ -6,7 +6,6 @@ #include <list> -#include "base/logging.h" #include "base/singleton.h" #include "base/string_number_conversions.h" #include "base/win_util.h" @@ -153,12 +152,6 @@ HICON WindowImpl::GetDefaultWindowIcon() const { return NULL; } -void WindowImpl::set_initial_class_style(UINT class_style) { - // We dynamically generate the class name, so don't register it globally! - DCHECK_EQ((class_style & CS_GLOBALCLASS), 0u); - class_style_ = class_style; -} - // static bool WindowImpl::IsWindowImpl(HWND hwnd) { wchar_t tmp[128]; diff --git a/gfx/window_impl.h b/gfx/window_impl.h index 0e8faa5..8ce230a 100644 --- a/gfx/window_impl.h +++ b/gfx/window_impl.h @@ -13,7 +13,7 @@ #include <string> -#include "base/basictypes.h" +#include "base/logging.h" #include "gfx/native_widget_types.h" #include "gfx/rect.h" @@ -64,7 +64,11 @@ class WindowImpl : public MessageMapInterface { DWORD window_ex_style() const { return window_ex_style_; } // Sets the class style to use. The default is CS_DBLCLKS. - void set_initial_class_style(UINT class_style); + void set_initial_class_style(UINT class_style) { + // We dynamically generate the class name, so don't register it globally! + DCHECK_EQ((class_style & CS_GLOBALCLASS), 0u); + class_style_ = class_style; + } UINT initial_class_style() const { return class_style_; } // Returns true if the specified |hwnd| is a WindowImpl. |