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

Side by Side Diff: chrome/browser/ui/views/constrained_window_frame_simple.h

Issue 10631010: Change style of ConstrainedWindowViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespace Created 8 years, 5 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_CONSTRAINED_WINDOW_FRAME_SIMPLE_H_
6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_FRAME_SIMPLE_H_
7 #pragma once
8
9 #include "ui/views/window/non_client_view.h"
10
11 class ConstrainedWindowViews;
12
13 ////////////////////////////////////////////////////////////////////////////////
14 // ConstrainedWindowFrameView
15 // Provides a custom Window frame for ConstrainedWindowViews.
16 // Implements a simple window with a minimal frame.
17 class ConstrainedWindowFrameSimple : public views::NonClientFrameView {
18 public:
19 explicit ConstrainedWindowFrameSimple(ConstrainedWindowViews* container);
20
Ben Goodger (Google) 2012/07/12 15:49:04 virtual dtor
Albert Bodenhamer 2012/07/12 21:20:44 Done.
21 // Overridden from views::NonClientFrameView:
Ben Goodger (Google) 2012/07/12 15:49:04 private:
Albert Bodenhamer 2012/07/12 21:20:44 Done.
22 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
23 virtual gfx::Rect GetWindowBoundsForClientBounds(
24 const gfx::Rect& client_bounds) const OVERRIDE;
25 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
26 virtual void GetWindowMask(const gfx::Size& size,
27 gfx::Path* window_mask) OVERRIDE {}
28 virtual void ResetWindowControls() OVERRIDE {}
29 virtual void UpdateWindowIcon() OVERRIDE {}
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowFrameSimple);
33 };
34 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_FRAME_SIMPLE_H_
35
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/views/constrained_window_frame_simple.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698