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

Side by Side 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 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
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_OZONE_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_OZONE_H_
7
8 #include "ui/views/widget/desktop_aura/desktop_root_window_host_ozone.h"
9 #include "chrome/browser/ui/views/frame/browser_desktop_root_window_host.h"
10
11 class BrowserView;
12
13 namespace views {
14 class DesktopNativeWidgetAura;
15 }
16
17 class BrowserDesktopRootWindowHostOzone
18 : public BrowserDesktopRootWindowHost,
19 public views::DesktopRootWindowHostOzone {
20 public:
21 BrowserDesktopRootWindowHostOzone(
22 views::internal::NativeWidgetDelegate* native_widget_delegate,
23 views::DesktopNativeWidgetAura* desktop_native_widget_aura,
24 BrowserView* browser_view);
25 virtual ~BrowserDesktopRootWindowHostOzone();
26
27 private:
28 // Overridden from BrowserDesktopRootWindowHost:
29 virtual views::DesktopRootWindowHost* AsDesktopRootWindowHost() OVERRIDE;
30 virtual int GetMinimizeButtonOffset() const OVERRIDE;
31 virtual bool UsesNativeSystemMenu() const OVERRIDE;
32
33 DISALLOW_COPY_AND_ASSIGN(BrowserDesktopRootWindowHostOzone);
34 };
35
36 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_OZONE_ H_
OLDNEW
« 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