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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 11366215: Prevents windows in chromeos from resizing bigger than their maximum size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DesktopNativeWidgetAura Created 8 years 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE; 124 virtual void OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE;
125 virtual void OnOverscrollComplete(OverscrollMode overscroll_mode) OVERRIDE; 125 virtual void OnOverscrollComplete(OverscrollMode overscroll_mode) OVERRIDE;
126 virtual void OnOverscrollModeChange(OverscrollMode old_mode, 126 virtual void OnOverscrollModeChange(OverscrollMode old_mode,
127 OverscrollMode new_mode) OVERRIDE; 127 OverscrollMode new_mode) OVERRIDE;
128 128
129 // Overridden from ui::ImplicitAnimationObserver: 129 // Overridden from ui::ImplicitAnimationObserver:
130 virtual void OnImplicitAnimationsCompleted() OVERRIDE; 130 virtual void OnImplicitAnimationsCompleted() OVERRIDE;
131 131
132 // Overridden from aura::WindowDelegate: 132 // Overridden from aura::WindowDelegate:
133 virtual gfx::Size GetMinimumSize() const OVERRIDE; 133 virtual gfx::Size GetMinimumSize() const OVERRIDE;
134 virtual gfx::Size GetMaximumSize() const OVERRIDE;
134 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 135 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
135 const gfx::Rect& new_bounds) OVERRIDE; 136 const gfx::Rect& new_bounds) OVERRIDE;
136 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; 137 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE;
137 virtual void OnBlur() OVERRIDE; 138 virtual void OnBlur() OVERRIDE;
138 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 139 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
139 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 140 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
140 virtual bool ShouldDescendIntoChildForEventHandling( 141 virtual bool ShouldDescendIntoChildForEventHandling(
141 aura::Window* child, 142 aura::Window* child,
142 const gfx::Point& location) OVERRIDE; 143 const gfx::Point& location) OVERRIDE;
143 virtual bool CanFocus() OVERRIDE; 144 virtual bool CanFocus() OVERRIDE;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // This is the completed overscroll gesture. This is used for the animation 194 // This is the completed overscroll gesture. This is used for the animation
194 // callback that happens in response to a completed overscroll gesture. 195 // callback that happens in response to a completed overscroll gesture.
195 OverscrollMode completed_overscroll_gesture_; 196 OverscrollMode completed_overscroll_gesture_;
196 197
197 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 198 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
198 }; 199 };
199 200
200 } // namespace content 201 } // namespace content
201 202
202 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 203 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698