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

Side by Side Diff: ui/views/widget/native_widget_aura.h

Issue 10566009: app_list: Fix shadow bleeds over launcher button and steals mouse events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix aura_demo compilation Created 8 years, 6 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
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; 139 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE;
140 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; 140 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE;
141 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE; 141 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE;
142 virtual bool CanFocus() OVERRIDE; 142 virtual bool CanFocus() OVERRIDE;
143 virtual void OnCaptureLost() OVERRIDE; 143 virtual void OnCaptureLost() OVERRIDE;
144 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 144 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
145 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 145 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
146 virtual void OnWindowDestroying() OVERRIDE; 146 virtual void OnWindowDestroying() OVERRIDE;
147 virtual void OnWindowDestroyed() OVERRIDE; 147 virtual void OnWindowDestroyed() OVERRIDE;
148 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; 148 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE;
149 virtual bool HasHitTestMask() const OVERRIDE;
150 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
149 151
150 // Overridden from aura::client::ActivationDelegate: 152 // Overridden from aura::client::ActivationDelegate:
151 virtual bool ShouldActivate(const aura::Event* event) OVERRIDE; 153 virtual bool ShouldActivate(const aura::Event* event) OVERRIDE;
152 virtual void OnActivated() OVERRIDE; 154 virtual void OnActivated() OVERRIDE;
153 virtual void OnLostActive() OVERRIDE; 155 virtual void OnLostActive() OVERRIDE;
154 156
155 // Overridden from aura::client::DragDropDelegate: 157 // Overridden from aura::client::DragDropDelegate:
156 virtual void OnDragEntered(const aura::DropTargetEvent& event) OVERRIDE; 158 virtual void OnDragEntered(const aura::DropTargetEvent& event) OVERRIDE;
157 virtual int OnDragUpdated(const aura::DropTargetEvent& event) OVERRIDE; 159 virtual int OnDragUpdated(const aura::DropTargetEvent& event) OVERRIDE;
158 virtual void OnDragExited() OVERRIDE; 160 virtual void OnDragExited() OVERRIDE;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 197
196 scoped_ptr<DropHelper> drop_helper_; 198 scoped_ptr<DropHelper> drop_helper_;
197 int last_drop_operation_; 199 int last_drop_operation_;
198 200
199 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 201 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
200 }; 202 };
201 203
202 } // namespace views 204 } // namespace views
203 205
204 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 206 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698