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

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

Issue 36953002: views: Support Desktop Aura creation on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: without cast, as suggested by Elliot Created 7 years, 1 month 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 | « no previous file | chrome/browser/ui/views/frame/browser_desktop_root_window_host_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_desktop_root_window_host_ozone.h
diff --git a/chrome/browser/ui/views/frame/browser_desktop_root_window_host_ozone.h b/chrome/browser/ui/views/frame/browser_desktop_root_window_host_ozone.h
new file mode 100644
index 0000000000000000000000000000000000000000..e4669a30b174dd7fd9cf34f736cd45f95f246251
--- /dev/null
+++ b/chrome/browser/ui/views/frame/browser_desktop_root_window_host_ozone.h
@@ -0,0 +1,36 @@
+// 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_DESKTOP_ROOT_WINDOW_HOST_OZONE_H_
+#define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_OZONE_H_
+
+#include "ui/views/widget/desktop_aura/desktop_root_window_host_ozone.h"
+#include "chrome/browser/ui/views/frame/browser_desktop_root_window_host.h"
+
+class BrowserView;
+
+namespace views {
+class DesktopNativeWidgetAura;
+}
+
+class BrowserDesktopRootWindowHostOzone
+ : public BrowserDesktopRootWindowHost,
+ public views::DesktopRootWindowHostOzone {
+ public:
+ BrowserDesktopRootWindowHostOzone(
+ views::internal::NativeWidgetDelegate* native_widget_delegate,
+ views::DesktopNativeWidgetAura* desktop_native_widget_aura,
+ BrowserView* browser_view);
+ virtual ~BrowserDesktopRootWindowHostOzone();
+
+ private:
+ // Overridden from BrowserDesktopRootWindowHost:
+ virtual views::DesktopRootWindowHost* AsDesktopRootWindowHost() OVERRIDE;
+ virtual int GetMinimizeButtonOffset() const OVERRIDE;
+ virtual bool UsesNativeSystemMenu() const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(BrowserDesktopRootWindowHostOzone);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_OZONE_H_
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_desktop_root_window_host_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698