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

Side by Side Diff: chrome/test/base/test_browser_window_aura.h

Issue 1548153002: Switch to standard integer types in chrome/. (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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_AURA_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_AURA_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_AURA_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_AURA_H_
7 7
8 #include "base/macros.h"
8 #include "chrome/test/base/test_browser_window.h" 9 #include "chrome/test/base/test_browser_window.h"
9 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
10 11
11 // A browser window proxy with an associated Aura native window. 12 // A browser window proxy with an associated Aura native window.
12 class TestBrowserWindowAura : public TestBrowserWindow { 13 class TestBrowserWindowAura : public TestBrowserWindow {
13 public: 14 public:
14 explicit TestBrowserWindowAura(scoped_ptr<aura::Window> native_window); 15 explicit TestBrowserWindowAura(scoped_ptr<aura::Window> native_window);
15 ~TestBrowserWindowAura() override; 16 ~TestBrowserWindowAura() override;
16 17
17 // TestBrowserWindow overrides: 18 // TestBrowserWindow overrides:
(...skipping 16 matching lines...) Expand all
34 // Helper that creates a browser with a native Aura |window|. If |window| is 35 // Helper that creates a browser with a native Aura |window|. If |window| is
35 // nullptr, it will create an Aura window to associate with the browser. It also 36 // nullptr, it will create an Aura window to associate with the browser. It also
36 // handles the lifetime of TestBrowserWindowAura. 37 // handles the lifetime of TestBrowserWindowAura.
37 scoped_ptr<Browser> CreateBrowserWithAuraTestWindowForParams( 38 scoped_ptr<Browser> CreateBrowserWithAuraTestWindowForParams(
38 scoped_ptr<aura::Window> window, 39 scoped_ptr<aura::Window> window,
39 Browser::CreateParams* params); 40 Browser::CreateParams* params);
40 41
41 } // namespace chrome 42 } // namespace chrome
42 43
43 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_AURA_H_ 44 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_AURA_H_
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.cc ('k') | chrome/test/base/test_chrome_web_ui_controller_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698