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

Side by Side Diff: ash/root_window_controller.cc

Issue 23444051: Move the content-dependent RecreateLayer logic from aura::Window to RWHVA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better comments Created 7 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 unified diff | Download patch | Annotate | Revision Log
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 #include "ash/root_window_controller.h" 5 #include "ash/root_window_controller.h"
6 6
7 #include <queue> 7 #include <queue>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_constants.h" 10 #include "ash/ash_constants.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 virtual void OnWindowDestroying() OVERRIDE {} 191 virtual void OnWindowDestroying() OVERRIDE {}
192 virtual void OnWindowDestroyed() OVERRIDE { 192 virtual void OnWindowDestroyed() OVERRIDE {
193 delete this; 193 delete this;
194 } 194 }
195 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE { 195 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE {
196 } 196 }
197 virtual bool HasHitTestMask() const OVERRIDE { 197 virtual bool HasHitTestMask() const OVERRIDE {
198 return false; 198 return false;
199 } 199 }
200 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} 200 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {}
201 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE { 201 virtual void DidRecreateLayer(ui::Layer* old_layer,
202 NOTREACHED(); 202 ui::Layer* new_layer) OVERRIDE {}
203 return scoped_refptr<ui::Texture>();
204 }
205 203
206 private: 204 private:
207 DISALLOW_COPY_AND_ASSIGN(EmptyWindowDelegate); 205 DISALLOW_COPY_AND_ASSIGN(EmptyWindowDelegate);
208 }; 206 };
209 207
210 } // namespace 208 } // namespace
211 209
212 namespace internal { 210 namespace internal {
213 211
214 RootWindowController::RootWindowController(aura::RootWindow* root_window) 212 RootWindowController::RootWindowController(aura::RootWindow* root_window)
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 DisableTouchHudProjection(); 816 DisableTouchHudProjection();
819 } 817 }
820 818
821 RootWindowController* GetRootWindowController( 819 RootWindowController* GetRootWindowController(
822 const aura::RootWindow* root_window) { 820 const aura::RootWindow* root_window) {
823 return root_window ? GetRootWindowSettings(root_window)->controller : NULL; 821 return root_window ? GetRootWindowSettings(root_window)->controller : NULL;
824 } 822 }
825 823
826 } // namespace internal 824 } // namespace internal
827 } // namespace ash 825 } // namespace ash
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698