| 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 12 matching lines...) Expand all Loading... |
| 23 explicit TestAppWindowContents(content::WebContents* web_contents); | 23 explicit TestAppWindowContents(content::WebContents* web_contents); |
| 24 ~TestAppWindowContents() override; | 24 ~TestAppWindowContents() override; |
| 25 | 25 |
| 26 // apps:AppWindowContents: | 26 // apps:AppWindowContents: |
| 27 void Initialize(content::BrowserContext* context, | 27 void Initialize(content::BrowserContext* context, |
| 28 content::RenderFrameHost* creator_frame, | 28 content::RenderFrameHost* creator_frame, |
| 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; | |
| 34 void OnWindowReady() override; | 33 void OnWindowReady() override; |
| 35 content::WebContents* GetWebContents() const override; | 34 content::WebContents* GetWebContents() const override; |
| 36 WindowController* GetWindowController() const override; | 35 WindowController* GetWindowController() const override; |
| 37 | 36 |
| 38 private: | 37 private: |
| 39 std::unique_ptr<content::WebContents> web_contents_; | 38 std::unique_ptr<content::WebContents> web_contents_; |
| 40 | 39 |
| 41 DISALLOW_COPY_AND_ASSIGN(TestAppWindowContents); | 40 DISALLOW_COPY_AND_ASSIGN(TestAppWindowContents); |
| 42 }; | 41 }; |
| 43 | 42 |
| 44 } // namespace extensions | 43 } // namespace extensions |
| 45 | 44 |
| 46 #endif // EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ | 45 #endif // EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ |
| OLD | NEW |