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

Side by Side Diff: mojo/services/view_manager/node.h

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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_SERVICES_VIEW_MANAGER_NODE_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_NODE_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_NODE_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_NODE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 private: 73 private:
74 // WindowObserver overrides: 74 // WindowObserver overrides:
75 virtual void OnWindowHierarchyChanged( 75 virtual void OnWindowHierarchyChanged(
76 const aura::WindowObserver::HierarchyChangeParams& params) OVERRIDE; 76 const aura::WindowObserver::HierarchyChangeParams& params) OVERRIDE;
77 77
78 // WindowDelegate overrides: 78 // WindowDelegate overrides:
79 virtual gfx::Size GetMinimumSize() const OVERRIDE; 79 virtual gfx::Size GetMinimumSize() const OVERRIDE;
80 virtual gfx::Size GetMaximumSize() const OVERRIDE; 80 virtual gfx::Size GetMaximumSize() const OVERRIDE;
81 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 81 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
82 const gfx::Rect& new_bounds) OVERRIDE; 82 const gfx::Rect& new_bounds) OVERRIDE;
83 virtual void OnPropertyChanged(const void* key, intptr_t old) OVERRIDE;
83 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 84 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
84 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 85 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
85 virtual bool ShouldDescendIntoChildForEventHandling( 86 virtual bool ShouldDescendIntoChildForEventHandling(
86 aura::Window* child, 87 aura::Window* child,
87 const gfx::Point& location) OVERRIDE; 88 const gfx::Point& location) OVERRIDE;
88 virtual bool CanFocus() OVERRIDE; 89 virtual bool CanFocus() OVERRIDE;
89 virtual void OnCaptureLost() OVERRIDE; 90 virtual void OnCaptureLost() OVERRIDE;
90 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 91 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
91 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 92 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
92 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 93 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
(...skipping 15 matching lines...) Expand all
108 109
109 aura::Window window_; 110 aura::Window window_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(Node); 112 DISALLOW_COPY_AND_ASSIGN(Node);
112 }; 113 };
113 114
114 } // namespace service 115 } // namespace service
115 } // namespace mojo 116 } // namespace mojo
116 117
117 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_H_ 118 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698