diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 19:58:40 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 19:58:40 +0000 |
commit | 607419ad5ffcb6cda8434af8aa74c8ce8e0a5f4c (patch) | |
tree | 401b3658590771fb48ad3014e4919717b6e14d13 /ash/shell.h | |
parent | 14493f632abdc0fbd9b1d647df4d4ba2efe1c32c (diff) | |
download | chromium_src-607419ad5ffcb6cda8434af8aa74c8ce8e0a5f4c.zip chromium_src-607419ad5ffcb6cda8434af8aa74c8ce8e0a5f4c.tar.gz chromium_src-607419ad5ffcb6cda8434af8aa74c8ce8e0a5f4c.tar.bz2 |
This CL create just a window which will be used to show
the mirrored content of the source window. See the next steps
for
misc:
* added debug+desktop only shortcut
* rotating square display now update the root window.
Next steps:
* Mirror cursor
* Modify OutputConfigurator to fallback to software mirror mode.
* Scale the root window size for mirror window so that
it has the same size as the source root window.
* Copy texture from soruce window to dest window.
* Handle device scale factor/cursor scaling.
BUG=239776
TEST=covered by test
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201618
Review URL: https://chromiumcodereview.appspot.com/15367003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r-- | ash/shell.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/shell.h b/ash/shell.h index 0415be4..b663f78 100644 --- a/ash/shell.h +++ b/ash/shell.h @@ -110,6 +110,7 @@ class EventClientImpl; class EventRewriterEventFilter; class EventTransformationHandler; class FocusCycler; +class MirrorWindowController; class MouseCursorEventFilter; class OutputConfiguratorAnimation; class OverlayEventFilter; @@ -284,6 +285,9 @@ class ASH_EXPORT Shell internal::DisplayManager* display_manager() { return display_manager_.get(); } + internal::MirrorWindowController* mirror_window_controller() { + return mirror_window_controller_.get(); + } views::corewm::InputMethodEventFilter* input_method_filter() { return input_method_filter_.get(); } @@ -572,6 +576,7 @@ class ASH_EXPORT Shell scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_; scoped_ptr<internal::DisplayManager> display_manager_; + scoped_ptr<internal::MirrorWindowController> mirror_window_controller_; #if defined(OS_CHROMEOS) && defined(USE_X11) // Controls video output device state. |