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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11_interactive_uitest.cc

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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/views/widget/desktop_aura/desktop_window_tree_host_x11.h" 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h"
6 6
7 #include <X11/Xlib.h> 7 #include <X11/Xlib.h>
8 8
9 // Get rid of X11 macros which conflict with gtest. 9 // Get rid of X11 macros which conflict with gtest.
10 #undef Bool 10 #undef Bool
11 #undef None 11 #undef None
12 12
13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "base/path_service.h" 15 #include "base/path_service.h"
15 #include "ui/aura/env.h" 16 #include "ui/aura/env.h"
16 #include "ui/aura/window.h" 17 #include "ui/aura/window.h"
17 #include "ui/aura/window_tree_host.h" 18 #include "ui/aura/window_tree_host.h"
18 #include "ui/base/ime/input_method.h" 19 #include "ui/base/ime/input_method.h"
19 #include "ui/base/resource/resource_bundle.h" 20 #include "ui/base/resource/resource_bundle.h"
20 #include "ui/base/ui_base_paths.h" 21 #include "ui/base/ui_base_paths.h"
21 #include "ui/base/x/x11_util.h" 22 #include "ui/base/x/x11_util.h"
22 #include "ui/events/event_handler.h" 23 #include "ui/events/event_handler.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 widget->GetInputMethod()->GetTextInputType()); 275 widget->GetInputMethod()->GetTextInputType());
275 276
276 widget->Deactivate(); 277 widget->Deactivate();
277 278
278 EXPECT_FALSE(widget->IsActive()); 279 EXPECT_FALSE(widget->IsActive());
279 EXPECT_EQ(ui::TEXT_INPUT_TYPE_NONE, 280 EXPECT_EQ(ui::TEXT_INPUT_TYPE_NONE,
280 widget->GetInputMethod()->GetTextInputType()); 281 widget->GetInputMethod()->GetTextInputType());
281 } 282 }
282 283
283 } // namespace views 284 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698