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

Side by Side Diff: views/desktop/desktop_window_root_view.h

Issue 7740039: Don't activate POPUP window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 VIEWS_DESKTOP_DESKTOP_WINDOW_ROOT_VIEW_H_
6 #define VIEWS_DESKTOP_DESKTOP_WINDOW_ROOT_VIEW_H_
7
8 #include "views/widget/root_view.h"
9
10 namespace views {
11 namespace desktop {
12
13 class DesktopWindowView;
14
15 class DesktopWindowRootView : public internal::RootView {
16 public:
17 DesktopWindowRootView(DesktopWindowView* desktop_window_view, Widget* window);
18 virtual ~DesktopWindowRootView();
19
20 private:
21 // Overridden from RootView:
22 virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE;
23 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE;
24
25 // Activates the widget at the specified location and deactivates the
26 // currently selected widget.
27 void ActivateWidgetAtLocation(const gfx::Point& point);
28
29 DesktopWindowView* desktop_window_view_;
30
31 DISALLOW_COPY_AND_ASSIGN(DesktopWindowRootView);
32 };
33
34 } // namespace desktop
35 } // namespace views
36
37 #endif // VIEWS_DESKTOP_DESKTOP_WINDOW_ROOT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698