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

Side by Side Diff: ui/aura/test/test_window_delegate.h

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
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/test/test_window_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ 5 #ifndef UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_
6 #define UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ 6 #define UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const gfx::Point& location) OVERRIDE; 53 const gfx::Point& location) OVERRIDE;
54 virtual bool CanFocus() OVERRIDE; 54 virtual bool CanFocus() OVERRIDE;
55 virtual void OnCaptureLost() OVERRIDE; 55 virtual void OnCaptureLost() OVERRIDE;
56 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 56 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
57 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 57 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
58 virtual void OnWindowDestroying() OVERRIDE; 58 virtual void OnWindowDestroying() OVERRIDE;
59 virtual void OnWindowDestroyed() OVERRIDE; 59 virtual void OnWindowDestroyed() OVERRIDE;
60 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 60 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
61 virtual bool HasHitTestMask() const OVERRIDE; 61 virtual bool HasHitTestMask() const OVERRIDE;
62 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 62 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
63 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; 63 virtual void DidRecreateLayer(ui::Layer* old_layer,
64 ui::Layer* new_layer) OVERRIDE;
64 65
65 private: 66 private:
66 int window_component_; 67 int window_component_;
67 bool delete_on_destroyed_; 68 bool delete_on_destroyed_;
68 gfx::Size minimum_size_; 69 gfx::Size minimum_size_;
69 gfx::Size maximum_size_; 70 gfx::Size maximum_size_;
70 bool can_focus_; 71 bool can_focus_;
71 72
72 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate); 73 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
73 }; 74 };
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 int key_press_count_; 139 int key_press_count_;
139 int key_release_count_; 140 int key_release_count_;
140 141
141 DISALLOW_COPY_AND_ASSIGN(EventCountDelegate); 142 DISALLOW_COPY_AND_ASSIGN(EventCountDelegate);
142 }; 143 };
143 144
144 } // namespace test 145 } // namespace test
145 } // namespace aura 146 } // namespace aura
146 147
147 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ 148 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/test/test_window_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698