diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 03:04:46 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 03:04:46 +0000 |
commit | 381bc458bfc58a239f3dfe69b008c6d3522869a2 (patch) | |
tree | 47d1ce68c60dbf2590e92c5fcf8ad4954a42aa12 /gfx | |
parent | 7781bb91a12839e409b9904c06d8f9072d1a3ae8 (diff) | |
download | chromium_src-381bc458bfc58a239f3dfe69b008c6d3522869a2.zip chromium_src-381bc458bfc58a239f3dfe69b008c6d3522869a2.tar.gz chromium_src-381bc458bfc58a239f3dfe69b008c6d3522869a2.tar.bz2 |
FBTF: Remove unneeded headers from base/ (part 10)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5139006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67662 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, 9 insertions, 6 deletions
diff --git a/gfx/window_impl.cc b/gfx/window_impl.cc index 74e0e20..22d7e7a 100644 --- a/gfx/window_impl.cc +++ b/gfx/window_impl.cc @@ -6,6 +6,7 @@ #include <list> +#include "base/logging.h" #include "base/singleton.h" #include "base/string_number_conversions.h" #include "base/win_util.h" @@ -152,6 +153,12 @@ 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 8ce230a..0e8faa5 100644 --- a/gfx/window_impl.h +++ b/gfx/window_impl.h @@ -13,7 +13,7 @@ #include <string> -#include "base/logging.h" +#include "base/basictypes.h" #include "gfx/native_widget_types.h" #include "gfx/rect.h" @@ -64,11 +64,7 @@ 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) { - // We dynamically generate the class name, so don't register it globally! - DCHECK_EQ((class_style & CS_GLOBALCLASS), 0u); - class_style_ = class_style; - } + void set_initial_class_style(UINT class_style); UINT initial_class_style() const { return class_style_; } // Returns true if the specified |hwnd| is a WindowImpl. |