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

Side by Side Diff: ui/views/widget/native_widget_aura.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 (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_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ui/aura/client/focus_change_observer.h" 10 #include "ui/aura/client/focus_change_observer.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; 136 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE;
137 137
138 // Overridden from views::InputMethodDelegate: 138 // Overridden from views::InputMethodDelegate:
139 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE; 139 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE;
140 140
141 // Overridden from aura::WindowDelegate: 141 // Overridden from aura::WindowDelegate:
142 virtual gfx::Size GetMinimumSize() const OVERRIDE; 142 virtual gfx::Size GetMinimumSize() const OVERRIDE;
143 virtual gfx::Size GetMaximumSize() const OVERRIDE; 143 virtual gfx::Size GetMaximumSize() const OVERRIDE;
144 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 144 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
145 const gfx::Rect& new_bounds) OVERRIDE; 145 const gfx::Rect& new_bounds) OVERRIDE;
146 virtual void OnPropertyChanged(const void* key, intptr_t old) OVERRIDE;
146 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 147 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
147 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 148 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
148 virtual bool ShouldDescendIntoChildForEventHandling( 149 virtual bool ShouldDescendIntoChildForEventHandling(
149 aura::Window* child, 150 aura::Window* child,
150 const gfx::Point& location) OVERRIDE; 151 const gfx::Point& location) OVERRIDE;
151 virtual bool CanFocus() OVERRIDE; 152 virtual bool CanFocus() OVERRIDE;
152 virtual void OnCaptureLost() OVERRIDE; 153 virtual void OnCaptureLost() OVERRIDE;
153 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 154 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
154 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 155 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
155 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 156 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 222
222 scoped_ptr<DropHelper> drop_helper_; 223 scoped_ptr<DropHelper> drop_helper_;
223 int last_drop_operation_; 224 int last_drop_operation_;
224 225
225 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 226 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
226 }; 227 };
227 228
228 } // namespace views 229 } // namespace views
229 230
230 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 231 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698