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

Unified Diff: views/window/non_client_view.h

Issue 159871: Ensure that popup windows are not themed.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/frame/opaque_browser_frame_view.cc ('k') | views/window/non_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/non_client_view.h
===================================================================
--- views/window/non_client_view.h (revision 22523)
+++ views/window/non_client_view.h (working copy)
@@ -198,6 +198,10 @@
virtual bool GetAccessibleName(std::wstring* name);
virtual void SetAccessibleName(const std::wstring& name);
+ // Call if the nonclientview is in an app or popup and we are in Vista, to
+ // force usage of glass frame.
+ void ForceAeroGlassFrame();
+
protected:
// NonClientView, View overrides:
virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child);
@@ -220,6 +224,10 @@
// The accessible name of this view.
std::wstring accessible_name_;
+ // True if the nonclientview is in an app or popup and we are in Vista. Used
+ // to force usage of glass frame.
+ bool force_aero_glass_frame_;
+
DISALLOW_COPY_AND_ASSIGN(NonClientView);
};
« no previous file with comments | « chrome/browser/views/frame/opaque_browser_frame_view.cc ('k') | views/window/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698