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 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ | 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ |
6 #define EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ | 6 #define EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "extensions/browser/app_window/app_window.h" | 9 #include "extensions/browser/app_window/app_window.h" |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 explicit TestAppWindowContents(content::WebContents* web_contents); | 21 explicit TestAppWindowContents(content::WebContents* web_contents); |
22 ~TestAppWindowContents() override; | 22 ~TestAppWindowContents() override; |
23 | 23 |
24 // apps:AppWindowContents: | 24 // apps:AppWindowContents: |
25 void Initialize(content::BrowserContext* context, const GURL& url) override; | 25 void Initialize(content::BrowserContext* context, const GURL& url) override; |
26 void LoadContents(int32 creator_process_id) override; | 26 void LoadContents(int32 creator_process_id) override; |
27 void NativeWindowChanged(NativeAppWindow* native_app_window) override; | 27 void NativeWindowChanged(NativeAppWindow* native_app_window) override; |
28 void NativeWindowClosed() override; | 28 void NativeWindowClosed() override; |
29 void DispatchWindowShownForTests() const override; | 29 void DispatchWindowShownForTests() const override; |
30 content::WebContents* GetWebContents() const override; | 30 content::WebContents* GetWebContents() const override; |
| 31 WindowController* GetWindowController() const override; |
31 | 32 |
32 private: | 33 private: |
33 scoped_ptr<content::WebContents> web_contents_; | 34 scoped_ptr<content::WebContents> web_contents_; |
34 | 35 |
35 DISALLOW_COPY_AND_ASSIGN(TestAppWindowContents); | 36 DISALLOW_COPY_AND_ASSIGN(TestAppWindowContents); |
36 }; | 37 }; |
37 | 38 |
38 } // namespace extensions | 39 } // namespace extensions |
39 | 40 |
40 #endif // EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ | 41 #endif // EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ |
OLD | NEW |