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

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

Issue 12342028: make menus, bubbles, etc. top level windows on aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes Created 7 years, 9 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_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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 virtual void OnOverscrollComplete(OverscrollMode overscroll_mode) OVERRIDE; 143 virtual void OnOverscrollComplete(OverscrollMode overscroll_mode) OVERRIDE;
144 virtual void OnOverscrollModeChange(OverscrollMode old_mode, 144 virtual void OnOverscrollModeChange(OverscrollMode old_mode,
145 OverscrollMode new_mode) OVERRIDE; 145 OverscrollMode new_mode) OVERRIDE;
146 146
147 // Overridden from ui::ImplicitAnimationObserver: 147 // Overridden from ui::ImplicitAnimationObserver:
148 virtual void OnImplicitAnimationsCompleted() OVERRIDE; 148 virtual void OnImplicitAnimationsCompleted() OVERRIDE;
149 149
150 // Overridden from aura::WindowDelegate: 150 // Overridden from aura::WindowDelegate:
151 virtual gfx::Size GetMinimumSize() const OVERRIDE; 151 virtual gfx::Size GetMinimumSize() const OVERRIDE;
152 virtual gfx::Size GetMaximumSize() const OVERRIDE; 152 virtual gfx::Size GetMaximumSize() const OVERRIDE;
153 virtual void SetHostTransitionBounds(const gfx::Rect& bounds) OVERRIDE;
153 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 154 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
154 const gfx::Rect& new_bounds) OVERRIDE; 155 const gfx::Rect& new_bounds) OVERRIDE;
155 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 156 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
156 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 157 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
157 virtual bool ShouldDescendIntoChildForEventHandling( 158 virtual bool ShouldDescendIntoChildForEventHandling(
158 aura::Window* child, 159 aura::Window* child,
159 const gfx::Point& location) OVERRIDE; 160 const gfx::Point& location) OVERRIDE;
160 virtual bool CanFocus() OVERRIDE; 161 virtual bool CanFocus() OVERRIDE;
161 virtual void OnCaptureLost() OVERRIDE; 162 virtual void OnCaptureLost() OVERRIDE;
162 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 163 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
163 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 164 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
164 virtual void OnWindowDestroying() OVERRIDE; 165 virtual void OnWindowDestroying() OVERRIDE;
165 virtual void OnWindowDestroyed() OVERRIDE; 166 virtual void OnWindowDestroyed() OVERRIDE;
167 virtual void OnWindowHidingAnimationCompleted() OVERRIDE;
166 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 168 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
167 virtual bool HasHitTestMask() const OVERRIDE; 169 virtual bool HasHitTestMask() const OVERRIDE;
168 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 170 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
169 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; 171 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE;
170 172
171 // Overridden from ui::EventHandler: 173 // Overridden from ui::EventHandler:
172 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 174 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
173 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 175 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
174 176
175 // Overridden from aura::client::DragDropDelegate: 177 // Overridden from aura::client::DragDropDelegate:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 // This manages the overlay window that shows the screenshot during a history 224 // This manages the overlay window that shows the screenshot during a history
223 // navigation triggered by the overscroll gesture. 225 // navigation triggered by the overscroll gesture.
224 scoped_ptr<OverscrollNavigationOverlay> navigation_overlay_; 226 scoped_ptr<OverscrollNavigationOverlay> navigation_overlay_;
225 227
226 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 228 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
227 }; 229 };
228 230
229 } // namespace content 231 } // namespace content
230 232
231 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 233 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698