summaryrefslogtreecommitdiffstats
path: root/views/desktop/desktop_window_root_view.h
blob: 9ad5f1cddcc159ea963a98c4ca75420d549bc38e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) 2011 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 VIEWS_DESKTOP_DESKTOP_WINDOW_ROOT_VIEW_H_
#define VIEWS_DESKTOP_DESKTOP_WINDOW_ROOT_VIEW_H_

#include "views/widget/root_view.h"

namespace views {
namespace desktop {

class DesktopWindow;

class DesktopWindowRootView : public internal::RootView {
 public:
  DesktopWindowRootView(DesktopWindow* desktop_window, Window* window);
  virtual ~DesktopWindowRootView();

 private:
  // Overridden from RootView:
  virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE;

  DesktopWindow* desktop_window_;

  DISALLOW_COPY_AND_ASSIGN(DesktopWindowRootView);
};

}  // namespace desktop
}  // namespace views

#endif  // VIEWS_DESKTOP_DESKTOP_WINDOW_ROOT_VIEW_H_