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

Unified Diff: ash/mus/property_util.h

Issue 2182633011: Replaces ::ui:: with ui:: in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/non_client_frame_controller.cc ('k') | ash/mus/property_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/property_util.h
diff --git a/ash/mus/property_util.h b/ash/mus/property_util.h
index 8f23085007acddf471f71038b1adadffb2cde456..1daf725d5aa79aeea411963b662782b27e166c32 100644
--- a/ash/mus/property_util.h
+++ b/ash/mus/property_util.h
@@ -28,57 +28,55 @@ class Shadow;
// Utility functions to read values from properties & convert them to the
// appropriate types.
-void SetWindowShowState(::ui::Window* window,
- ::ui::mojom::ShowState show_state);
-::ui::mojom::ShowState GetWindowShowState(const ::ui::Window* window);
+void SetWindowShowState(ui::Window* window, ui::mojom::ShowState show_state);
+ui::mojom::ShowState GetWindowShowState(const ui::Window* window);
-void SetWindowUserSetBounds(::ui::Window* window, const gfx::Rect& bounds);
-gfx::Rect GetWindowUserSetBounds(const ::ui::Window* window);
+void SetWindowUserSetBounds(ui::Window* window, const gfx::Rect& bounds);
+gfx::Rect GetWindowUserSetBounds(const ui::Window* window);
-void SetWindowPreferredSize(::ui::Window* window, const gfx::Size& size);
-gfx::Size GetWindowPreferredSize(const ::ui::Window* window);
+void SetWindowPreferredSize(ui::Window* window, const gfx::Size& size);
+gfx::Size GetWindowPreferredSize(const ui::Window* window);
// If |window| has the |kWindowContainer_Property| set as a property, then
// the value of |kWindowContainer_Property| is set in |container| and true is
// returned. Otherwise false is returned.
-bool GetRequestedContainer(const ::ui::Window* window,
+bool GetRequestedContainer(const ui::Window* window,
mojom::Container* container);
// Returns a bitfield of kResizeBehavior* values from
// window_manager_constants.mojom.
-int32_t GetResizeBehavior(const ::ui::Window* window);
+int32_t GetResizeBehavior(const ui::Window* window);
-void SetRestoreBounds(::ui::Window* window, const gfx::Rect& bounds);
-gfx::Rect GetRestoreBounds(const ::ui::Window* window);
+void SetRestoreBounds(ui::Window* window, const gfx::Rect& bounds);
+gfx::Rect GetRestoreBounds(const ui::Window* window);
-void SetShadow(::ui::Window* window, Shadow* shadow);
-Shadow* GetShadow(const ::ui::Window* window);
+void SetShadow(ui::Window* window, Shadow* shadow);
+Shadow* GetShadow(const ui::Window* window);
-::ui::mojom::WindowType GetWindowType(const ::ui::Window* window);
-::ui::mojom::WindowType GetWindowType(
- const ::ui::Window::SharedProperties& window);
+ui::mojom::WindowType GetWindowType(const ui::Window* window);
+ui::mojom::WindowType GetWindowType(const ui::Window::SharedProperties& window);
-ui::wm::WindowType GetWmWindowType(const ::ui::Window* window);
+ui::wm::WindowType GetWmWindowType(const ui::Window* window);
-mojom::AshWindowType GetAshWindowType(const ::ui::Window* window);
+mojom::AshWindowType GetAshWindowType(const ui::Window* window);
-base::string16 GetWindowTitle(const ::ui::Window* window);
+base::string16 GetWindowTitle(const ui::Window* window);
-mojo::Array<uint8_t> GetWindowAppIcon(const ::ui::Window* window);
+mojo::Array<uint8_t> GetWindowAppIcon(const ui::Window* window);
-void SetAppID(::ui::Window* window, const base::string16& app_id);
-base::string16 GetAppID(const ::ui::Window* window);
+void SetAppID(ui::Window* window, const base::string16& app_id);
+base::string16 GetAppID(const ui::Window* window);
-bool GetWindowIgnoredByShelf(::ui::Window* window);
+bool GetWindowIgnoredByShelf(ui::Window* window);
-void SetWindowIsJanky(::ui::Window* window, bool janky);
-bool IsWindowJanky(::ui::Window* window);
+void SetWindowIsJanky(ui::Window* window, bool janky);
+bool IsWindowJanky(ui::Window* window);
bool IsWindowJankyProperty(const void* key);
-void SetAlwaysOnTop(::ui::Window* window, bool value);
-bool IsAlwaysOnTop(::ui::Window* window);
+void SetAlwaysOnTop(ui::Window* window, bool value);
+bool IsAlwaysOnTop(ui::Window* window);
-bool ShouldRemoveStandardFrame(::ui::Window* window);
+bool ShouldRemoveStandardFrame(ui::Window* window);
} // namespace mus
} // namespace ash
« no previous file with comments | « ash/mus/non_client_frame_controller.cc ('k') | ash/mus/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698