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

Side by Side Diff: ash/root_window_controller.cc

Issue 434343004: Call OnNativeWindowChanged after maximizing and restoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implement in all subclasses. Created 6 years, 4 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // aura::WindowDelegate overrides: 217 // aura::WindowDelegate overrides:
218 virtual gfx::Size GetMinimumSize() const OVERRIDE { 218 virtual gfx::Size GetMinimumSize() const OVERRIDE {
219 return gfx::Size(); 219 return gfx::Size();
220 } 220 }
221 virtual gfx::Size GetMaximumSize() const OVERRIDE { 221 virtual gfx::Size GetMaximumSize() const OVERRIDE {
222 return gfx::Size(); 222 return gfx::Size();
223 } 223 }
224 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 224 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
225 const gfx::Rect& new_bounds) OVERRIDE { 225 const gfx::Rect& new_bounds) OVERRIDE {
226 } 226 }
227 virtual void OnPropertyChanged(const void* key, intptr_t old) OVERRIDE {
228 }
227 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE { 229 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE {
228 return gfx::kNullCursor; 230 return gfx::kNullCursor;
229 } 231 }
230 virtual int GetNonClientComponent( 232 virtual int GetNonClientComponent(
231 const gfx::Point& point) const OVERRIDE { 233 const gfx::Point& point) const OVERRIDE {
232 return HTNOWHERE; 234 return HTNOWHERE;
233 } 235 }
234 virtual bool ShouldDescendIntoChildForEventHandling( 236 virtual bool ShouldDescendIntoChildForEventHandling(
235 aura::Window* child, 237 aura::Window* child,
236 const gfx::Point& location) OVERRIDE { 238 const gfx::Point& location) OVERRIDE {
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 else 1085 else
1084 DisableTouchHudProjection(); 1086 DisableTouchHudProjection();
1085 } 1087 }
1086 1088
1087 RootWindowController* GetRootWindowController( 1089 RootWindowController* GetRootWindowController(
1088 const aura::Window* root_window) { 1090 const aura::Window* root_window) {
1089 return root_window ? GetRootWindowSettings(root_window)->controller : NULL; 1091 return root_window ? GetRootWindowSettings(root_window)->controller : NULL;
1090 } 1092 }
1091 1093
1092 } // namespace ash 1094 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698