Home | History | Annotate | Download | only in aura
      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
      3 // found in the LICENSE file.
      4 
      5 #import "ui/aura/root_window_view_mac.h"
      6 
      7 @implementation RootWindowView
      8 -(void)setCompositor:(ui::Compositor*)compositor {
      9   compositor_ = compositor;
     10 }
     11 
     12 - (void)drawRect:(NSRect)rect {
     13   if (compositor_)
     14     compositor_->Draw(false);
     15 }
     16 @end
     17