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

Side by Side Diff: content/browser/renderer_host/render_widget_host_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: . 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_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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE; 209 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE;
210 210
211 // Overridden from gfx::DisplayObserver: 211 // Overridden from gfx::DisplayObserver:
212 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; 212 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE;
213 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; 213 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE;
214 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; 214 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE;
215 215
216 // Overridden from aura::WindowDelegate: 216 // Overridden from aura::WindowDelegate:
217 virtual gfx::Size GetMinimumSize() const OVERRIDE; 217 virtual gfx::Size GetMinimumSize() const OVERRIDE;
218 virtual gfx::Size GetMaximumSize() const OVERRIDE; 218 virtual gfx::Size GetMaximumSize() const OVERRIDE;
219 virtual void SetHostTransitionBounds(const gfx::Rect& bounds) OVERRIDE;
219 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 220 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
220 const gfx::Rect& new_bounds) OVERRIDE; 221 const gfx::Rect& new_bounds) OVERRIDE;
221 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 222 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
222 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 223 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
223 virtual bool ShouldDescendIntoChildForEventHandling( 224 virtual bool ShouldDescendIntoChildForEventHandling(
224 aura::Window* child, 225 aura::Window* child,
225 const gfx::Point& location) OVERRIDE; 226 const gfx::Point& location) OVERRIDE;
226 virtual bool CanFocus() OVERRIDE; 227 virtual bool CanFocus() OVERRIDE;
227 virtual void OnCaptureLost() OVERRIDE; 228 virtual void OnCaptureLost() OVERRIDE;
228 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 229 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
229 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 230 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
230 virtual void OnWindowDestroying() OVERRIDE; 231 virtual void OnWindowDestroying() OVERRIDE;
231 virtual void OnWindowDestroyed() OVERRIDE; 232 virtual void OnWindowDestroyed() OVERRIDE;
233 virtual void OnWindowHidingAnimationCompleted() OVERRIDE;
232 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 234 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
233 virtual bool HasHitTestMask() const OVERRIDE; 235 virtual bool HasHitTestMask() const OVERRIDE;
234 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 236 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
235 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; 237 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE;
236 238
237 // Overridden from ui::EventHandler: 239 // Overridden from ui::EventHandler:
238 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 240 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
239 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 241 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
240 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 242 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
241 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 243 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 #endif 535 #endif
534 536
535 base::TimeTicks last_draw_ended_; 537 base::TimeTicks last_draw_ended_;
536 538
537 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 539 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
538 }; 540 };
539 541
540 } // namespace content 542 } // namespace content
541 543
542 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 544 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698