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

Unified Diff: ash/display/mirror_window_controller.h

Issue 15730006: Use the source display's pixel size as a mirror window's size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ash/display/mirror_window_controller.h
diff --git a/ash/display/mirror_window_controller.h b/ash/display/mirror_window_controller.h
index e7b96c78613da4caf3dbaea1afa1070443b113fa..aa99553ad12713f7e809fbfb57f36209270deabb 100644
--- a/ash/display/mirror_window_controller.h
+++ b/ash/display/mirror_window_controller.h
@@ -8,6 +8,7 @@
#include "ash/ash_export.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
+#include "ui/aura/window_observer.h"
James Cook 2013/05/29 12:22:43 Do you need this here?
oshima 2013/05/29 15:39:49 Done.
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/point.h"
@@ -37,6 +38,11 @@ class MirrorWindowController {
// Creates the new root window if one doesn't exist.
void UpdateWindow(const DisplayInfo& display_info);
+ // Same as above, but using existing display info
+ // for the mirrored display.
+ void UpdateWindow();
+
+ // Close the mirror window.
void Close();
// Updates the mirrored cursor location,shape and

Powered by Google App Engine
This is Rietveld 408576698