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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 10831361: Draggable region support for frameless app window on CrOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use ShouldDescendIntoChildForEventHandling Created 8 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 <vector> 9 #include <vector>
10 10
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 virtual gfx::Size GetMinimumSize() const OVERRIDE; 160 virtual gfx::Size GetMinimumSize() const OVERRIDE;
161 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 161 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
162 const gfx::Rect& new_bounds) OVERRIDE; 162 const gfx::Rect& new_bounds) OVERRIDE;
163 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; 163 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE;
164 virtual void OnBlur() OVERRIDE; 164 virtual void OnBlur() OVERRIDE;
165 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 165 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
166 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 166 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
167 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 167 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
168 virtual bool ShouldDescendIntoChildForEventHandling( 168 virtual bool ShouldDescendIntoChildForEventHandling(
169 aura::Window* child, 169 aura::Window* child,
170 const gfx::Point& location) OVERRIDE; 170 const gfx::Point& event_location,
171 ui::EventType event_type) OVERRIDE;
171 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 172 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
172 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 173 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
173 virtual ui::GestureStatus OnGestureEvent( 174 virtual ui::GestureStatus OnGestureEvent(
174 ui::GestureEvent* event) OVERRIDE; 175 ui::GestureEvent* event) OVERRIDE;
175 virtual bool CanFocus() OVERRIDE; 176 virtual bool CanFocus() OVERRIDE;
176 virtual void OnCaptureLost() OVERRIDE; 177 virtual void OnCaptureLost() OVERRIDE;
177 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 178 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
178 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 179 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
179 virtual void OnWindowDestroying() OVERRIDE; 180 virtual void OnWindowDestroying() OVERRIDE;
180 virtual void OnWindowDestroyed() OVERRIDE; 181 virtual void OnWindowDestroyed() OVERRIDE;
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 378
378 // This lock is for waiting for a front surface to become available to draw. 379 // This lock is for waiting for a front surface to become available to draw.
379 scoped_refptr<aura::CompositorLock> released_front_lock_; 380 scoped_refptr<aura::CompositorLock> released_front_lock_;
380 381
381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 382 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
382 }; 383 };
383 384
384 } // namespace content 385 } // namespace content
385 386
386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 387 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698