Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: chrome/browser/ui/views/extensions/shell_frame_win.h

Issue 9254046: Custom frame UI for platform apps on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_FRAME_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_FRAME_WIN_H_
7 #pragma once
8
9 #include "ui/views/widget/native_widget_win.h"
10 #include "chrome/browser/ui/extensions/native_shell_frame.h"
11
12 namespace views {
13 class NativeWidget;
14 }
15
16 class ShellFrameWin : public views::NativeWidgetWin, public NativeShellFrame {
17 public:
18 explicit ShellFrameWin(views::Widget* delegate);
19
20 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
21 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE;
22
23 protected:
24 virtual gfx::Insets GetClientAreaInsets() const OVERRIDE;
25 virtual LRESULT OnNCCalcSize(BOOL w_param, LPARAM l_param) OVERRIDE;
26 virtual LRESULT OnCreate(CREATESTRUCT* create_struct) OVERRIDE;
27 virtual LRESULT OnNCHitTest(const CPoint& point) OVERRIDE;
28 };
29
30 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_FRAME_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698