summaryrefslogtreecommitdiffstats
path: root/chrome/views/custom_frame_window.cc
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 05:34:22 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 05:34:22 +0000
commit1920e823284826c00ba11adb1ff3ccb7fba2f0f5 (patch)
tree6c6c1a4de01bae3f55965b1e08dfd1fd42bf96d5 /chrome/views/custom_frame_window.cc
parent6687106894056969b5d3cfbeef6ba23bb75b46a5 (diff)
downloadchromium_src-1920e823284826c00ba11adb1ff3ccb7fba2f0f5.zip
chromium_src-1920e823284826c00ba11adb1ff3ccb7fba2f0f5.tar.gz
chromium_src-1920e823284826c00ba11adb1ff3ccb7fba2f0f5.tar.bz2
rollback these changes
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/custom_frame_window.cc')
-rw-r--r--chrome/views/custom_frame_window.cc19
1 files changed, 8 insertions, 11 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc
index 97c1c89..928947e 100644
--- a/chrome/views/custom_frame_window.cc
+++ b/chrome/views/custom_frame_window.cc
@@ -831,17 +831,6 @@ void DefaultNonClientView::InitClass() {
///////////////////////////////////////////////////////////////////////////////
// CustomFrameWindow, public:
-CustomFrameWindow::~CustomFrameWindow() {
-}
-
-void CustomFrameWindow::ExecuteSystemMenuCommand(int command) {
- if (command)
- SendMessage(GetHWND(), WM_SYSCOMMAND, command, 0);
-}
-
-///////////////////////////////////////////////////////////////////////////////
-// CustomFrameWindow, protected:
-
CustomFrameWindow::CustomFrameWindow(WindowDelegate* window_delegate)
: Window(window_delegate),
non_client_view_(new DefaultNonClientView(this)),
@@ -856,6 +845,14 @@ CustomFrameWindow::CustomFrameWindow(WindowDelegate* window_delegate,
InitClass();
}
+CustomFrameWindow::~CustomFrameWindow() {
+}
+
+void CustomFrameWindow::ExecuteSystemMenuCommand(int command) {
+ if (command)
+ SendMessage(GetHWND(), WM_SYSCOMMAND, command, 0);
+}
+
///////////////////////////////////////////////////////////////////////////////
// CustomFrameWindow, Window overrides: