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

Side by Side Diff: ui/base/x/x11_foreign_window_manager.cc

Issue 733763003: Remove #include of compiler_specific.h from macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another Linux fix Created 6 years, 1 month 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 | « ui/base/x/x11_foreign_window_manager.h ('k') | ui/compositor/layer_tree_owner.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ui/base/x/x11_foreign_window_manager.h" 5 #include "ui/base/x/x11_foreign_window_manager.h"
6 6
7 #include <X11/Xlib.h> 7 #include <X11/Xlib.h>
8 8
9 #include "base/compiler_specific.h"
9 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
10 11
11 namespace ui { 12 namespace ui {
12 13
13 // static 14 // static
14 XForeignWindowManager* XForeignWindowManager::GetInstance() { 15 XForeignWindowManager* XForeignWindowManager::GetInstance() {
15 return Singleton<XForeignWindowManager>::get(); 16 return Singleton<XForeignWindowManager>::get();
16 } 17 }
17 18
18 int XForeignWindowManager::RequestEvents(XID xid, long event_mask) { 19 int XForeignWindowManager::RequestEvents(XID xid, long event_mask) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 64
64 XForeignWindowManager::Request::Request(int request_id, long event_mask) 65 XForeignWindowManager::Request::Request(int request_id, long event_mask)
65 : request_id(request_id), 66 : request_id(request_id),
66 event_mask(event_mask) { 67 event_mask(event_mask) {
67 } 68 }
68 69
69 XForeignWindowManager::Request::~Request() { 70 XForeignWindowManager::Request::~Request() {
70 } 71 }
71 72
72 } // namespace ui 73 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/x/x11_foreign_window_manager.h ('k') | ui/compositor/layer_tree_owner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698