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

Side by Side Diff: chrome/browser/views/frame/opaque_non_client_view.h

Issue 20161: Make aero glass code look more like other nonclient views in hopes of easing ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_NON_CLIENT_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_NON_CLIENT_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_NON_CLIENT_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_NON_CLIENT_VIEW_H_
7 7
8 #include "chrome/browser/views/frame/opaque_frame.h" 8 #include "chrome/browser/views/frame/opaque_frame.h"
9 #include "chrome/browser/views/tab_icon_view.h" 9 #include "chrome/browser/views/tab_icon_view.h"
10 #include "chrome/views/non_client_view.h" 10 #include "chrome/views/non_client_view.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 int height) const; 45 int height) const;
46 virtual CPoint GetSystemMenuPoint() const; 46 virtual CPoint GetSystemMenuPoint() const;
47 virtual int NonClientHitTest(const gfx::Point& point); 47 virtual int NonClientHitTest(const gfx::Point& point);
48 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask); 48 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask);
49 virtual void EnableClose(bool enable); 49 virtual void EnableClose(bool enable);
50 virtual void ResetWindowControls(); 50 virtual void ResetWindowControls();
51 51
52 // Overridden from views::View: 52 // Overridden from views::View:
53 virtual void Paint(ChromeCanvas* canvas); 53 virtual void Paint(ChromeCanvas* canvas);
54 virtual void Layout(); 54 virtual void Layout();
55 virtual gfx::Size GetPreferredSize();
56 virtual views::View* GetViewForPoint(const gfx::Point& point, 55 virtual views::View* GetViewForPoint(const gfx::Point& point,
57 bool can_create_floating); 56 bool can_create_floating);
58 virtual void ViewHierarchyChanged(bool is_add, 57 virtual void ViewHierarchyChanged(bool is_add,
59 views::View* parent, 58 views::View* parent,
60 views::View* child); 59 views::View* child);
61 virtual bool GetAccessibleRole(VARIANT* role); 60 virtual bool GetAccessibleRole(VARIANT* role);
62 virtual bool GetAccessibleName(std::wstring* name); 61 virtual bool GetAccessibleName(std::wstring* name);
63 virtual void SetAccessibleName(const std::wstring& name); 62 virtual void SetAccessibleName(const std::wstring& name);
64 63
65 // Overridden from views::BaseButton::ButtonListener: 64 // Overridden from views::BaseButton::ButtonListener:
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 static views::WindowResources* inactive_resources_; 164 static views::WindowResources* inactive_resources_;
166 static views::WindowResources* active_otr_resources_; 165 static views::WindowResources* active_otr_resources_;
167 static views::WindowResources* inactive_otr_resources_; 166 static views::WindowResources* inactive_otr_resources_;
168 static ChromeFont title_font_; 167 static ChromeFont title_font_;
169 168
170 DISALLOW_EVIL_CONSTRUCTORS(OpaqueNonClientView); 169 DISALLOW_EVIL_CONSTRUCTORS(OpaqueNonClientView);
171 }; 170 };
172 171
173 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_NON_CLIENT_VIEW_H_ 172 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_NON_CLIENT_VIEW_H_
174 173
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/aero_glass_non_client_view.cc ('k') | chrome/browser/views/frame/opaque_non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698