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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; 272 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE;
273 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; 273 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE;
274 virtual void OnDisplayMetricsChanged(const gfx::Display& display, 274 virtual void OnDisplayMetricsChanged(const gfx::Display& display,
275 uint32_t metrics) OVERRIDE; 275 uint32_t metrics) OVERRIDE;
276 276
277 // Overridden from aura::WindowDelegate: 277 // Overridden from aura::WindowDelegate:
278 virtual gfx::Size GetMinimumSize() const OVERRIDE; 278 virtual gfx::Size GetMinimumSize() const OVERRIDE;
279 virtual gfx::Size GetMaximumSize() const OVERRIDE; 279 virtual gfx::Size GetMaximumSize() const OVERRIDE;
280 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 280 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
281 const gfx::Rect& new_bounds) OVERRIDE; 281 const gfx::Rect& new_bounds) OVERRIDE;
282 virtual void OnPropertyChanged(const void* key, intptr_t old) OVERRIDE;
282 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 283 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
283 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 284 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
284 virtual bool ShouldDescendIntoChildForEventHandling( 285 virtual bool ShouldDescendIntoChildForEventHandling(
285 aura::Window* child, 286 aura::Window* child,
286 const gfx::Point& location) OVERRIDE; 287 const gfx::Point& location) OVERRIDE;
287 virtual bool CanFocus() OVERRIDE; 288 virtual bool CanFocus() OVERRIDE;
288 virtual void OnCaptureLost() OVERRIDE; 289 virtual void OnCaptureLost() OVERRIDE;
289 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 290 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
290 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 291 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
291 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 292 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 606 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
606 607
607 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 608 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
608 609
609 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 610 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
610 }; 611 };
611 612
612 } // namespace content 613 } // namespace content
613 614
614 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 615 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698