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

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

Issue 1135063002: aura: Remove unused Window::Blur(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // purposes of event targeting. 259 // purposes of event targeting.
260 Window* GetEventHandlerForPoint(const gfx::Point& local_point); 260 Window* GetEventHandlerForPoint(const gfx::Point& local_point);
261 261
262 // Returns the topmost Window with a delegate containing |local_point|. 262 // Returns the topmost Window with a delegate containing |local_point|.
263 Window* GetTopWindowContainingPoint(const gfx::Point& local_point); 263 Window* GetTopWindowContainingPoint(const gfx::Point& local_point);
264 264
265 // Returns this window's toplevel window (the highest-up-the-tree anscestor 265 // Returns this window's toplevel window (the highest-up-the-tree anscestor
266 // that has a delegate set). The toplevel window may be |this|. 266 // that has a delegate set). The toplevel window may be |this|.
267 Window* GetToplevelWindow(); 267 Window* GetToplevelWindow();
268 268
269 // Claims or relinquishes the claim to focus. 269 // Claims focus.
270 void Focus(); 270 void Focus();
271 void Blur();
272 271
273 // Returns true if the Window is currently the focused window. 272 // Returns true if the Window is currently the focused window.
274 bool HasFocus() const; 273 bool HasFocus() const;
275 274
276 // Returns true if the Window can be focused. 275 // Returns true if the Window can be focused.
277 bool CanFocus() const; 276 bool CanFocus() const;
278 277
279 // Returns true if the Window can receive events. 278 // Returns true if the Window can receive events.
280 bool CanReceiveEvents() const; 279 bool CanReceiveEvents() const;
281 280
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 }; 544 };
546 545
547 std::map<const void*, Value> prop_map_; 546 std::map<const void*, Value> prop_map_;
548 547
549 DISALLOW_COPY_AND_ASSIGN(Window); 548 DISALLOW_COPY_AND_ASSIGN(Window);
550 }; 549 };
551 550
552 } // namespace aura 551 } // namespace aura
553 552
554 #endif // UI_AURA_WINDOW_H_ 553 #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