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

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

Issue 10831297: Attempt 2 at: Makes Window not change focus and send out (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: The fix 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
« no previous file with comments | « no previous file | ui/aura/window.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_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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 380
381 // Gets a Window (either this one or a subwindow) containing |local_point|. 381 // Gets a Window (either this one or a subwindow) containing |local_point|.
382 // If |return_tightest| is true, returns the tightest-containing (i.e. 382 // If |return_tightest| is true, returns the tightest-containing (i.e.
383 // furthest down the hierarchy) Window containing the point; otherwise, 383 // furthest down the hierarchy) Window containing the point; otherwise,
384 // returns the loosest. If |for_event_handling| is true, then hit-test masks 384 // returns the loosest. If |for_event_handling| is true, then hit-test masks
385 // are honored; otherwise, only bounds checks are performed. 385 // are honored; otherwise, only bounds checks are performed.
386 Window* GetWindowForPoint(const gfx::Point& local_point, 386 Window* GetWindowForPoint(const gfx::Point& local_point,
387 bool return_tightest, 387 bool return_tightest,
388 bool for_event_handling); 388 bool for_event_handling);
389 389
390 // Implementation of RemoveChild(). If |child| is being removed as the result
391 // of an add, |new_parent| is the new parent |child| is going to be parented
392 // to.
393 void RemoveChildImpl(Window* child, Window* new_parent);
394
390 // Called when this window's parent has changed. 395 // Called when this window's parent has changed.
391 void OnParentChanged(); 396 void OnParentChanged();
392 397
393 // Determines the real location for stacking |child| and invokes 398 // Determines the real location for stacking |child| and invokes
394 // StackChildRelativeToImpl(). 399 // StackChildRelativeToImpl().
395 void StackChildRelativeTo(Window* child, 400 void StackChildRelativeTo(Window* child,
396 Window* target, 401 Window* target,
397 StackDirection direction); 402 StackDirection direction);
398 403
399 // Implementation of StackChildRelativeTo(). 404 // Implementation of StackChildRelativeTo().
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 }; 493 };
489 494
490 std::map<const void*, Value> prop_map_; 495 std::map<const void*, Value> prop_map_;
491 496
492 DISALLOW_COPY_AND_ASSIGN(Window); 497 DISALLOW_COPY_AND_ASSIGN(Window);
493 }; 498 };
494 499
495 } // namespace aura 500 } // namespace aura
496 501
497 #endif // UI_AURA_WINDOW_H_ 502 #endif // UI_AURA_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698