| Index: chrome/browser/ui/views/extensions/shell_frame_win.h
|
| diff --git a/chrome/browser/ui/views/extensions/shell_frame_win.h b/chrome/browser/ui/views/extensions/shell_frame_win.h
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..65f04747d48a05467c220f29c44ed6328783ebdd
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/extensions/shell_frame_win.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_FRAME_WIN_H_
|
| +#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_FRAME_WIN_H_
|
| +#pragma once
|
| +
|
| +#include "ui/views/widget/native_widget_win.h"
|
| +#include "chrome/browser/ui/extensions/native_shell_frame.h"
|
| +
|
| +namespace views {
|
| +class NativeWidget;
|
| +}
|
| +
|
| +class ShellFrameWin : public views::NativeWidgetWin, public NativeShellFrame {
|
| + public:
|
| + explicit ShellFrameWin(views::Widget* delegate);
|
| +
|
| + virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
|
| + virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE;
|
| +
|
| + protected:
|
| + virtual gfx::Insets GetClientAreaInsets() const OVERRIDE;
|
| + virtual LRESULT OnNCCalcSize(BOOL w_param, LPARAM l_param) OVERRIDE;
|
| + virtual LRESULT OnCreate(CREATESTRUCT* create_struct) OVERRIDE;
|
| + virtual LRESULT OnNCHitTest(const CPoint& point) OVERRIDE;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_FRAME_WIN_H_
|
|
|