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

Side by Side Diff: ui/aura/window.h

Issue 2972963002: [mus+ash] Implements hit-test client in Aura (Closed)
Patch Set: [mus ash] Implements hit-test client in Aura (rebased) Created 3 years, 5 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
« no previous file with comments | « ui/aura/mus/window_port_mus.cc ('k') | no next file » | 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_AURA_WINDOW_H_ 5 #ifndef UI_AURA_WINDOW_H_
6 #define UI_AURA_WINDOW_H_ 6 #define UI_AURA_WINDOW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // use from the destructor. 320 // use from the destructor.
321 void RemoveOrDestroyChildren(); 321 void RemoveOrDestroyChildren();
322 322
323 // Overrides from ui::PropertyHandler 323 // Overrides from ui::PropertyHandler
324 std::unique_ptr<ui::PropertyData> BeforePropertyChange(const void* key) 324 std::unique_ptr<ui::PropertyData> BeforePropertyChange(const void* key)
325 override; 325 override;
326 void AfterPropertyChange(const void* key, 326 void AfterPropertyChange(const void* key,
327 int64_t old_value, 327 int64_t old_value,
328 std::unique_ptr<ui::PropertyData> data) override; 328 std::unique_ptr<ui::PropertyData> data) override;
329 private: 329 private:
330 friend class HitTestDataProviderMus;
330 friend class LayoutManager; 331 friend class LayoutManager;
331 friend class PropertyConverter; 332 friend class PropertyConverter;
332 friend class WindowPort; 333 friend class WindowPort;
333 friend class WindowPortForShutdown; 334 friend class WindowPortForShutdown;
334 friend class WindowTargeter; 335 friend class WindowTargeter;
335 friend class test::WindowTestApi; 336 friend class test::WindowTestApi;
336 337
337 // Returns true if the mouse pointer at relative-to-this-Window's-origin 338 // Returns true if the mouse pointer at relative-to-this-Window's-origin
338 // |local_point| can trigger an event for this Window. 339 // |local_point| can trigger an event for this Window.
339 // TODO(beng): A Window can supply a hit-test mask to cause some portions of 340 // TODO(beng): A Window can supply a hit-test mask to cause some portions of
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 bool ignore_events_; 484 bool ignore_events_;
484 485
485 base::ObserverList<WindowObserver, true> observers_; 486 base::ObserverList<WindowObserver, true> observers_;
486 487
487 DISALLOW_COPY_AND_ASSIGN(Window); 488 DISALLOW_COPY_AND_ASSIGN(Window);
488 }; 489 };
489 490
490 } // namespace aura 491 } // namespace aura
491 492
492 #endif // UI_AURA_WINDOW_H_ 493 #endif // UI_AURA_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_port_mus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698