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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc

Issue 2276153002: Removal of unnecessary views:: and fix comment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
index aeadc78f2fe40a9863c39daa451852a86f78cf9f..5327938528bad44ced671b3c73c0927bc596f3af 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
@@ -247,12 +247,12 @@ void DesktopWindowTreeHostX11::HandleNativeWidgetActivationChanged(
}
void DesktopWindowTreeHostX11::AddObserver(
- views::DesktopWindowTreeHostObserverX11* observer) {
+ DesktopWindowTreeHostObserverX11* observer) {
observer_list_.AddObserver(observer);
}
void DesktopWindowTreeHostX11::RemoveObserver(
- views::DesktopWindowTreeHostObserverX11* observer) {
+ DesktopWindowTreeHostObserverX11* observer) {
observer_list_.RemoveObserver(observer);
}
@@ -1600,7 +1600,7 @@ void DesktopWindowTreeHostX11::ResetWindowRegion() {
if (!IsMaximized() && !IsFullscreen()) {
gfx::Path window_mask;
- views::Widget* widget = native_widget_delegate_->AsWidget();
+ Widget* widget = native_widget_delegate_->AsWidget();
if (widget->non_client_view()) {
// Some frame views define a custom (non-rectangular) window mask. If
// so, use it to define the window shape. If not, fall through.
@@ -2090,7 +2090,7 @@ DesktopWindowTreeHost* DesktopWindowTreeHost::Create(
// static
ui::NativeTheme* DesktopWindowTreeHost::GetNativeTheme(aura::Window* window) {
- const views::LinuxUI* linux_ui = views::LinuxUI::instance();
+ const LinuxUI* linux_ui = LinuxUI::instance();
if (linux_ui) {
ui::NativeTheme* native_theme = linux_ui->GetNativeTheme(window);
if (native_theme)
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698