OLD | NEW |
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 "chrome/browser/ui/views/chrome_constrained_window_views_client.h" | 5 #include "chrome/browser/ui/views/chrome_constrained_window_views_client.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "chrome/browser/platform_util.h" | 8 #include "chrome/browser/platform_util.h" |
8 #include "chrome/browser/ui/browser_finder.h" | 9 #include "chrome/browser/ui/browser_finder.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 namespace { | 12 namespace { |
12 | 13 |
13 class ChromeConstrainedWindowViewsClient | 14 class ChromeConstrainedWindowViewsClient |
14 : public constrained_window::ConstrainedWindowViewsClient { | 15 : public constrained_window::ConstrainedWindowViewsClient { |
15 public: | 16 public: |
16 ChromeConstrainedWindowViewsClient() {} | 17 ChromeConstrainedWindowViewsClient() {} |
(...skipping 17 matching lines...) Expand all Loading... |
34 | 35 |
35 DISALLOW_COPY_AND_ASSIGN(ChromeConstrainedWindowViewsClient); | 36 DISALLOW_COPY_AND_ASSIGN(ChromeConstrainedWindowViewsClient); |
36 }; | 37 }; |
37 | 38 |
38 } // namespace | 39 } // namespace |
39 | 40 |
40 scoped_ptr<constrained_window::ConstrainedWindowViewsClient> | 41 scoped_ptr<constrained_window::ConstrainedWindowViewsClient> |
41 CreateChromeConstrainedWindowViewsClient() { | 42 CreateChromeConstrainedWindowViewsClient() { |
42 return make_scoped_ptr(new ChromeConstrainedWindowViewsClient); | 43 return make_scoped_ptr(new ChromeConstrainedWindowViewsClient); |
43 } | 44 } |
OLD | NEW |