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

Side by Side Diff: ui/aura/root_window.h

Issue 12087124: Disable touch calibration on external touchscreen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Win compilation take 2 + rebase Created 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_ROOT_WINDOW_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_H_
6 #define UI_AURA_ROOT_WINDOW_H_ 6 #define UI_AURA_ROOT_WINDOW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 public ui::CompositorObserver, 56 public ui::CompositorObserver,
57 public Window, 57 public Window,
58 public ui::EventDispatcherDelegate, 58 public ui::EventDispatcherDelegate,
59 public ui::GestureEventHelper, 59 public ui::GestureEventHelper,
60 public ui::LayerAnimationObserver, 60 public ui::LayerAnimationObserver,
61 public aura::client::CaptureDelegate, 61 public aura::client::CaptureDelegate,
62 public aura::RootWindowHostDelegate { 62 public aura::RootWindowHostDelegate {
63 public: 63 public:
64 struct AURA_EXPORT CreateParams { 64 struct AURA_EXPORT CreateParams {
65 // CreateParams with initial_bounds and default host. 65 // CreateParams with initial_bounds and default host.
66 explicit CreateParams(const gfx::Rect& initial_bounds); 66 explicit CreateParams(const gfx::Rect& initial_bounds,
67 bool is_internal_display);
oshima 2013/02/04 19:20:05 internal display <-> root window mapping is dynami
ynovikov 2013/03/13 23:34:21 Done.
67 ~CreateParams() {} 68 ~CreateParams() {}
68 69
69 gfx::Rect initial_bounds; 70 gfx::Rect initial_bounds;
71 // True if RootWindow corresponds to an internal display (on ChromeOS).
72 bool is_internal_display;
70 73
71 // A host to use in place of the default one that RootWindow will create. 74 // A host to use in place of the default one that RootWindow will create.
72 // NULL by default. 75 // NULL by default.
73 RootWindowHost* host; 76 RootWindowHost* host;
74 }; 77 };
75 78
76 explicit RootWindow(const CreateParams& params); 79 explicit RootWindow(const CreateParams& params);
77 virtual ~RootWindow(); 80 virtual ~RootWindow();
78 81
79 // Returns the RootWindowHost for the specified accelerated widget, or NULL 82 // Returns the RootWindowHost for the specified accelerated widget, or NULL
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 base::WeakPtrFactory<RootWindow> held_mouse_event_factory_; 409 base::WeakPtrFactory<RootWindow> held_mouse_event_factory_;
407 410
408 scoped_ptr<ui::ViewProp> prop_; 411 scoped_ptr<ui::ViewProp> prop_;
409 412
410 DISALLOW_COPY_AND_ASSIGN(RootWindow); 413 DISALLOW_COPY_AND_ASSIGN(RootWindow);
411 }; 414 };
412 415
413 } // namespace aura 416 } // namespace aura
414 417
415 #endif // UI_AURA_ROOT_WINDOW_H_ 418 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698