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

Unified Diff: remoting/host/desktop_resizer_mac.cc

Issue 10918224: Cross-platform plumbing for resize-to-client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up SkISize zero check. Fixed XFlush bug. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/desktop_resizer_mac.cc
diff --git a/remoting/host/desktop_resizer_mac.cc b/remoting/host/desktop_resizer_mac.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0e26d08094427c33e9d9001c909e315a0e842db6
--- /dev/null
+++ b/remoting/host/desktop_resizer_mac.cc
@@ -0,0 +1,35 @@
+// Copyright (c) 2012 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.
+
+#include "remoting/host/desktop_resizer.h"
+
+#include "base/logging.h"
+
+namespace remoting {
+
+namespace {
+class DesktopResizerMac : public DesktopResizer {
+ public:
+ DesktopResizerMac() {
+ }
+
+ virtual SkISize GetSize() OVERRIDE {
+ NOTIMPLEMENTED();
+ return SkISize::Make(0, 0);
+ }
+
+ virtual void SetSize(const SkISize& size) OVERRIDE {
+ NOTIMPLEMENTED();
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DesktopResizerMac);
+};
+} // namespace
+
+scoped_ptr<DesktopResizer> DesktopResizer::Create() {
+ return scoped_ptr<DesktopResizer>(new DesktopResizerMac);
+}
+
+} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698