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

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

Issue 1536493002: Working proof of concept of select to speak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drag across multiple objects Created 5 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
« no previous file with comments | « ui/views/view.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 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "ui/aura/client/focus_change_observer.h" 9 #include "ui/aura/client/focus_change_observer.h"
10 #include "ui/aura/window_delegate.h" 10 #include "ui/aura/window_delegate.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // Overridden from aura::WindowObserver: 156 // Overridden from aura::WindowObserver:
157 void OnWindowPropertyChanged(aura::Window* window, 157 void OnWindowPropertyChanged(aura::Window* window,
158 const void* key, 158 const void* key,
159 intptr_t old) override; 159 intptr_t old) override;
160 160
161 // Overridden from ui::EventHandler: 161 // Overridden from ui::EventHandler:
162 void OnKeyEvent(ui::KeyEvent* event) override; 162 void OnKeyEvent(ui::KeyEvent* event) override;
163 void OnMouseEvent(ui::MouseEvent* event) override; 163 void OnMouseEvent(ui::MouseEvent* event) override;
164 void OnScrollEvent(ui::ScrollEvent* event) override; 164 void OnScrollEvent(ui::ScrollEvent* event) override;
165 void OnGestureEvent(ui::GestureEvent* event) override; 165 void OnGestureEvent(ui::GestureEvent* event) override;
166 void OnAccessibilityMouseEvent(ui::MouseEvent* event) override;
166 167
167 // Overridden from aura::client::ActivationDelegate: 168 // Overridden from aura::client::ActivationDelegate:
168 bool ShouldActivate() const override; 169 bool ShouldActivate() const override;
169 170
170 // Overridden from aura::client::ActivationChangeObserver: 171 // Overridden from aura::client::ActivationChangeObserver:
171 void OnWindowActivated( 172 void OnWindowActivated(
172 aura::client::ActivationChangeObserver::ActivationReason reason, 173 aura::client::ActivationChangeObserver::ActivationReason reason,
173 aura::Window* gained_active, 174 aura::Window* gained_active,
174 aura::Window* lost_active) override; 175 aura::Window* lost_active) override;
175 176
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // The following factory is used for calls to close the NativeWidgetAura 225 // The following factory is used for calls to close the NativeWidgetAura
225 // instance. 226 // instance.
226 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; 227 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
227 228
228 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 229 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
229 }; 230 };
230 231
231 } // namespace views 232 } // namespace views
232 233
233 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 234 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698