diff options
Diffstat (limited to 'chrome/views/custom_frame_window.h')
-rw-r--r-- | chrome/views/custom_frame_window.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/views/custom_frame_window.h b/chrome/views/custom_frame_window.h index 2fad406..d61b6b8 100644 --- a/chrome/views/custom_frame_window.h +++ b/chrome/views/custom_frame_window.h @@ -50,6 +50,9 @@ class NonClientView; //////////////////////////////////////////////////////////////////////////////// class CustomFrameWindow : public Window { public: + explicit CustomFrameWindow(WindowDelegate* window_delegate); + CustomFrameWindow(WindowDelegate* window_delegate, + NonClientView* non_client_view); virtual ~CustomFrameWindow(); // Executes the specified SC_command. @@ -66,12 +69,6 @@ class CustomFrameWindow : public Window { virtual void UpdateWindowTitle(); protected: - // Cannot construct one of these directly - use Window::CreateChromeWindow. - // Subclasses _must_ call one of these constructors. - explicit CustomFrameWindow(WindowDelegate* window_delegate); - CustomFrameWindow(WindowDelegate* window_delegate, - NonClientView* non_client_view); - // Overridden from Window: virtual void SizeWindowToDefault(); virtual void EnableClose(bool enable); |