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

Side by Side Diff: apps/app_window_contents.h

Issue 306823002: Flip --enable-apps-show-on-first-paint flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tests Created 6 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « apps/app_window.cc ('k') | apps/app_window_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 APPS_APP_WINDOW_CONTENTS_H_ 5 #ifndef APPS_APP_WINDOW_CONTENTS_H_
6 #define APPS_APP_WINDOW_CONTENTS_H_ 6 #define APPS_APP_WINDOW_CONTENTS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "apps/app_window.h" 10 #include "apps/app_window.h"
(...skipping 26 matching lines...) Expand all
37 public: 37 public:
38 explicit AppWindowContentsImpl(AppWindow* host); 38 explicit AppWindowContentsImpl(AppWindow* host);
39 virtual ~AppWindowContentsImpl(); 39 virtual ~AppWindowContentsImpl();
40 40
41 // AppWindowContents 41 // AppWindowContents
42 virtual void Initialize(content::BrowserContext* context, 42 virtual void Initialize(content::BrowserContext* context,
43 const GURL& url) OVERRIDE; 43 const GURL& url) OVERRIDE;
44 virtual void LoadContents(int32 creator_process_id) OVERRIDE; 44 virtual void LoadContents(int32 creator_process_id) OVERRIDE;
45 virtual void NativeWindowChanged(NativeAppWindow* native_app_window) OVERRIDE; 45 virtual void NativeWindowChanged(NativeAppWindow* native_app_window) OVERRIDE;
46 virtual void NativeWindowClosed() OVERRIDE; 46 virtual void NativeWindowClosed() OVERRIDE;
47 virtual void NativeWindowFirstShown() const OVERRIDE;
47 virtual content::WebContents* GetWebContents() const OVERRIDE; 48 virtual content::WebContents* GetWebContents() const OVERRIDE;
48 49
49 private: 50 private:
50 // content::NotificationObserver 51 // content::NotificationObserver
51 virtual void Observe(int type, 52 virtual void Observe(int type,
52 const content::NotificationSource& source, 53 const content::NotificationSource& source,
53 const content::NotificationDetails& details) OVERRIDE; 54 const content::NotificationDetails& details) OVERRIDE;
54 55
55 // content::WebContentsObserver 56 // content::WebContentsObserver
56 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 57 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
(...skipping 14 matching lines...) Expand all
71 scoped_ptr<content::WebContents> web_contents_; 72 scoped_ptr<content::WebContents> web_contents_;
72 scoped_ptr<extensions::ExtensionFunctionDispatcher> 73 scoped_ptr<extensions::ExtensionFunctionDispatcher>
73 extension_function_dispatcher_; 74 extension_function_dispatcher_;
74 75
75 DISALLOW_COPY_AND_ASSIGN(AppWindowContentsImpl); 76 DISALLOW_COPY_AND_ASSIGN(AppWindowContentsImpl);
76 }; 77 };
77 78
78 } // namespace apps 79 } // namespace apps
79 80
80 #endif // APPS_APP_WINDOW_CONTENTS_H_ 81 #endif // APPS_APP_WINDOW_CONTENTS_H_
OLDNEW
« no previous file with comments | « apps/app_window.cc ('k') | apps/app_window_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698