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

Side by Side Diff: chrome/views/native_frame_view.h

Issue 27317: Support DWM switching.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
« no previous file with comments | « chrome/views/default_non_client_view.cc ('k') | chrome/views/native_frame_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 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_VIEWS_NATIVE_FRAME_VIEW_H_
6 #define CHROME_VIEWS_NATIVE_FRAME_VIEW_H_
7
8 #include "chrome/views/non_client_view.h"
9
10 namespace views {
11
12 class NativeFrameView : public NonClientFrameView {
13 public:
14 explicit NativeFrameView(Window* frame);
15 virtual ~NativeFrameView();
16
17 // NonClientFrameView overrides:
18 virtual gfx::Rect GetBoundsForClientView() const;
19 virtual gfx::Rect GetWindowBoundsForClientBounds(
20 const gfx::Rect& client_bounds) const;
21 virtual gfx::Point GetSystemMenuPoint() const;
22 virtual int NonClientHitTest(const gfx::Point& point);
23 virtual void GetWindowMask(const gfx::Size& size,
24 gfx::Path* window_mask);
25 virtual void EnableClose(bool enable);
26 virtual void ResetWindowControls();
27
28 private:
29 // Our containing frame.
30 Window* frame_;
31
32 DISALLOW_COPY_AND_ASSIGN(NativeFrameView);
33 };
34
35 } // namespace views
36
37 #endif // #ifndef CHROME_VIEWS_NATIVE_FRAME_VIEW_H_
38
OLDNEW
« no previous file with comments | « chrome/views/default_non_client_view.cc ('k') | chrome/views/native_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698