| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 const GURL& url) override; | 29 const GURL& url) override; |
| 30 void LoadContents(int32_t creator_process_id) override; | 30 void LoadContents(int32_t creator_process_id) override; |
| 31 void NativeWindowChanged(NativeAppWindow* native_app_window) override; | 31 void NativeWindowChanged(NativeAppWindow* native_app_window) override; |
| 32 void NativeWindowClosed() override; | 32 void NativeWindowClosed() override; |
| 33 void DispatchWindowShownForTests() const override; | 33 void DispatchWindowShownForTests() const override; |
| 34 void OnWindowReady() override; | 34 void OnWindowReady() override; |
| 35 content::WebContents* GetWebContents() const override; | 35 content::WebContents* GetWebContents() const override; |
| 36 WindowController* GetWindowController() const override; | 36 WindowController* GetWindowController() const override; |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 scoped_ptr<content::WebContents> web_contents_; | 39 std::unique_ptr<content::WebContents> web_contents_; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(TestAppWindowContents); | 41 DISALLOW_COPY_AND_ASSIGN(TestAppWindowContents); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace extensions | 44 } // namespace extensions |
| 45 | 45 |
| 46 #endif // EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ | 46 #endif // EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ |
| OLD | NEW |