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

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

Issue 160573002: Move root_window_host* in aura to window_tree_host*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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_desktop_root_window_host.h
diff --git a/chrome/browser/ui/views/frame/browser_desktop_root_window_host.h b/chrome/browser/ui/views/frame/browser_desktop_root_window_host.h
deleted file mode 100644
index 0d50a9bbb386d0edc0eb756a0daf832b2c7d9716..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/frame/browser_desktop_root_window_host.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 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_H_
-#define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_H_
-
-class BrowserFrame;
-class BrowserView;
-namespace gfx {
-class Rect;
-}
-namespace views {
-class DesktopNativeWidgetAura;
-class DesktopWindowTreeHost;
-namespace internal {
-class NativeWidgetDelegate;
-}
-}
-
-// Interface to a platform specific browser frame implementation. The object
-// implementing this interface will also implement views::DesktopWindowTreeHost.
-class BrowserDesktopWindowTreeHost {
- public:
- // BDRWH is owned by the RootWindow.
- static BrowserDesktopWindowTreeHost* CreateBrowserDesktopWindowTreeHost(
- views::internal::NativeWidgetDelegate* native_widget_delegate,
- views::DesktopNativeWidgetAura* desktop_native_widget_aura,
- BrowserView* browser_view,
- BrowserFrame* browser_frame);
-
- virtual views::DesktopWindowTreeHost* AsDesktopWindowTreeHost() = 0;
-
- virtual int GetMinimizeButtonOffset() const = 0;
-
- // Returns true if the OS takes care of showing the system menu. Returning
- // false means BrowserFrame handles showing the system menu.
- virtual bool UsesNativeSystemMenu() const = 0;
-};
-
-
-#endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698