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

Side by Side Diff: content/browser/web_contents/aura/image_window_delegate.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/browser/web_contents/aura/image_window_delegate.h" 5 #include "content/browser/web_contents/aura/image_window_delegate.h"
6 6
7 #include "ui/base/hit_test.h" 7 #include "ui/base/hit_test.h"
8 #include "ui/compositor/compositor.h" 8 #include "ui/compositor/compositor.h"
9 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
10 #include "ui/gfx/image/image.h" 10 #include "ui/gfx/image/image.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void ImageWindowDelegate::OnWindowTargetVisibilityChanged(bool visible) { 86 void ImageWindowDelegate::OnWindowTargetVisibilityChanged(bool visible) {
87 } 87 }
88 88
89 bool ImageWindowDelegate::HasHitTestMask() const { 89 bool ImageWindowDelegate::HasHitTestMask() const {
90 return false; 90 return false;
91 } 91 }
92 92
93 void ImageWindowDelegate::GetHitTestMask(gfx::Path* mask) const { 93 void ImageWindowDelegate::GetHitTestMask(gfx::Path* mask) const {
94 } 94 }
95 95
96 scoped_refptr<ui::Texture> ImageWindowDelegate::CopyTexture() { 96 void ImageWindowDelegate::DidRecreateLayer(ui::Layer *old_layer,
97 return scoped_refptr<ui::Texture>(); 97 ui::Layer *new_layer) {
98 } 98 }
99 99
100 } // namespace content 100 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/aura/image_window_delegate.h ('k') | content/browser/web_contents/web_contents_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698