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

Side by Side Diff: extensions/browser/app_window/test_app_window_contents.h

Issue 2553263002: Remove code to defer app window appearance until first paint. (Closed)
Patch Set: nit Created 4 years 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 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
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_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window_contents.cc ('k') | extensions/browser/app_window/test_app_window_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698