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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_common_win.h

Issue 12251010: Ensure that when themes in desktop chrome AURA on Windows use the opaque browser frame view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_frame_common_win.h
===================================================================
--- chrome/browser/ui/views/frame/browser_frame_common_win.h (revision 0)
+++ chrome/browser/ui/views/frame/browser_frame_common_win.h (revision 0)
@@ -0,0 +1,30 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_
+#define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_
+
+class BrowserView;
+class NativeWidget;
+
+namespace ui {
+class ThemeProvider;
+}
+
+namespace views {
+namespace internal {
+class NativeWidgetPrivate;
+}
+}
+
+namespace chrome {
+// Returns true if we should use the native i.e. Glass browser frame.
+// for the BrowserView passed in.
+bool ShouldUseNativeFrame(
+ const views::internal::NativeWidgetPrivate* native_widget,
+ const BrowserView* browser_view,
+ const ui::ThemeProvider* theme_provider);
+}
+
+#endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_
Property changes on: chrome\browser\ui\views\frame\browser_frame_common_win.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698