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

Unified Diff: ash/wm/workspace/workspace_window_resizer.h

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager.h ('k') | ash/wm/workspace/workspace_window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_window_resizer.h
diff --git a/ash/wm/workspace/workspace_window_resizer.h b/ash/wm/workspace/workspace_window_resizer.h
index 8bf065710df4b7d21242eb2167ee8dc1a25a995e..7a80566ef039ad464e50bc86d17a75eac67c036e 100644
--- a/ash/wm/workspace/workspace_window_resizer.h
+++ b/ash/wm/workspace/workspace_window_resizer.h
@@ -2,15 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_WM_WORKSPACE_WINDOW_RESIZER_H_
-#define ASH_WM_WORKSPACE_WINDOW_RESIZER_H_
+#ifndef ASH_WM_WORKSPACE_WORKSPACE_WINDOW_RESIZER_H_
+#define ASH_WM_WORKSPACE_WORKSPACE_WINDOW_RESIZER_H_
#include <vector>
#include "ash/wm/window_resizer.h"
#include "ash/wm/workspace/magnetism_matcher.h"
#include "base/compiler_specific.h"
-#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "ui/aura/window_tracker.h"
@@ -91,7 +90,7 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
// Divides |amount| evenly between |sizes|. If |amount| is negative it
// indicates how many pixels |sizes| should be shrunk by.
// Returns how many pixels failed to be allocated/removed from |sizes|.
- int GrowFairly(int amount, std::vector<WindowSize>& sizes) const;
+ int GrowFairly(int amount, std::vector<WindowSize>* sizes) const;
// Calculate the ratio of pixels that each WindowSize in |sizes| should
// receive when growing or shrinking.
@@ -223,4 +222,4 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
} // namespace ash
-#endif // ASH_WM_WORKSPACE_WINDOW_RESIZER_H_
+#endif // ASH_WM_WORKSPACE_WORKSPACE_WINDOW_RESIZER_H_
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager.h ('k') | ash/wm/workspace/workspace_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698