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

Side by Side Diff: chrome/test/base/dialog_test_browser_window.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, 11 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_DIALOG_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_DIALOG_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_DIALOG_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_DIALOG_TEST_BROWSER_WINDOW_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 "components/web_modal/web_contents_modal_dialog_host.h" 10 #include "components/web_modal/web_contents_modal_dialog_host.h"
10 11
11 class Browser; 12 class Browser;
12 13
13 // Custom test browser window to provide a parent view to a modal dialog. 14 // Custom test browser window to provide a parent view to a modal dialog.
14 class DialogTestBrowserWindow : public TestBrowserWindow, 15 class DialogTestBrowserWindow : public TestBrowserWindow,
15 public web_modal::WebContentsModalDialogHost { 16 public web_modal::WebContentsModalDialogHost {
16 public: 17 public:
17 DialogTestBrowserWindow(); 18 DialogTestBrowserWindow();
(...skipping 10 matching lines...) Expand all
28 void AddObserver(web_modal::ModalDialogHostObserver* observer) override; 29 void AddObserver(web_modal::ModalDialogHostObserver* observer) override;
29 void RemoveObserver(web_modal::ModalDialogHostObserver* observer) override; 30 void RemoveObserver(web_modal::ModalDialogHostObserver* observer) override;
30 31
31 private: 32 private:
32 Browser* FindBrowser() const; 33 Browser* FindBrowser() const;
33 34
34 DISALLOW_COPY_AND_ASSIGN(DialogTestBrowserWindow); 35 DISALLOW_COPY_AND_ASSIGN(DialogTestBrowserWindow);
35 }; 36 };
36 37
37 #endif // CHROME_TEST_BASE_DIALOG_TEST_BROWSER_WINDOW_H_ 38 #endif // CHROME_TEST_BASE_DIALOG_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/test/base/chrome_unit_test_suite.cc ('k') | chrome/test/base/extension_js_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698