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

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

Issue 22325002: Removes unused parameter from RootWindow::OnWindowHidden. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/root_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_ROOT_WINDOW_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_H_
6 #define UI_AURA_ROOT_WINDOW_H_ 6 #define UI_AURA_ROOT_WINDOW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 void ProcessEvent(Window* target, ui::Event* event); 331 void ProcessEvent(Window* target, ui::Event* event);
332 332
333 bool ProcessGestures(ui::GestureRecognizer::Gestures* gestures); 333 bool ProcessGestures(ui::GestureRecognizer::Gestures* gestures);
334 334
335 // Called when a Window is attached or detached from the RootWindow. 335 // Called when a Window is attached or detached from the RootWindow.
336 void OnWindowAddedToRootWindow(Window* window); 336 void OnWindowAddedToRootWindow(Window* window);
337 void OnWindowRemovedFromRootWindow(Window* window, RootWindow* new_root); 337 void OnWindowRemovedFromRootWindow(Window* window, RootWindow* new_root);
338 338
339 // Called when a window becomes invisible, either by being removed 339 // Called when a window becomes invisible, either by being removed
340 // from root window hierarchy, via SetVisible(false) or being destroyed. 340 // from root window hierarchy, via SetVisible(false) or being destroyed.
341 // |reason| specifies what triggered the hiding. |new_root| is the new root 341 // |reason| specifies what triggered the hiding.
342 // window, and may be NULL. 342 void OnWindowHidden(Window* invisible, WindowHiddenReason reason);
343 void OnWindowHidden(Window* invisible,
344 WindowHiddenReason reason,
345 RootWindow* new_root);
346 343
347 // Cleans up the gesture recognizer for all windows in |window| (including 344 // Cleans up the gesture recognizer for all windows in |window| (including
348 // |window| itself). 345 // |window| itself).
349 void CleanupGestureRecognizerState(Window* window); 346 void CleanupGestureRecognizerState(Window* window);
350 347
351 // Updates the root window's size using |host_size|, current 348 // Updates the root window's size using |host_size|, current
352 // transform and insets. 349 // transform and insets.
353 void UpdateRootWindowSize(const gfx::Size& host_size); 350 void UpdateRootWindowSize(const gfx::Size& host_size);
354 351
355 // Overridden from ui::EventDispatcherDelegate. 352 // Overridden from ui::EventDispatcherDelegate.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 scoped_ptr<ui::ViewProp> prop_; 452 scoped_ptr<ui::ViewProp> prop_;
456 453
457 scoped_ptr<RootWindowTransformer> transformer_; 454 scoped_ptr<RootWindowTransformer> transformer_;
458 455
459 DISALLOW_COPY_AND_ASSIGN(RootWindow); 456 DISALLOW_COPY_AND_ASSIGN(RootWindow);
460 }; 457 };
461 458
462 } // namespace aura 459 } // namespace aura
463 460
464 #endif // UI_AURA_ROOT_WINDOW_H_ 461 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698