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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 55293003: Defer app window appearance until first paint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge issue Created 7 years, 1 month 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | content/browser/web_contents/web_contents_impl.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 const GURL& url, 654 const GURL& url,
655 const base::FilePath& plugin_path); 655 const base::FilePath& plugin_path);
656 void OnBrowserPluginMessage(const IPC::Message& message); 656 void OnBrowserPluginMessage(const IPC::Message& message);
657 void OnDidDownloadImage(int id, 657 void OnDidDownloadImage(int id,
658 int http_status_code, 658 int http_status_code,
659 const GURL& image_url, 659 const GURL& image_url,
660 const std::vector<SkBitmap>& bitmaps, 660 const std::vector<SkBitmap>& bitmaps,
661 const std::vector<gfx::Size>& original_bitmap_sizes); 661 const std::vector<gfx::Size>& original_bitmap_sizes);
662 void OnUpdateFaviconURL(int32 page_id, 662 void OnUpdateFaviconURL(int32 page_id,
663 const std::vector<FaviconURL>& candidates); 663 const std::vector<FaviconURL>& candidates);
664 664 void OnFirstVisuallyNonEmptyPaint(int32 page_id);
665 void OnMediaNotification(int64 player_cookie, 665 void OnMediaNotification(int64 player_cookie,
666 bool has_video, 666 bool has_video,
667 bool has_audio, 667 bool has_audio,
668 bool is_playing); 668 bool is_playing);
669 669
670 // Called by derived classes to indicate that we're no longer waiting for a 670 // Called by derived classes to indicate that we're no longer waiting for a
671 // response. This won't actually update the throbber, but it will get picked 671 // response. This won't actually update the throbber, but it will get picked
672 // up at the next animation step if the throbber is going. 672 // up at the next animation step if the throbber is going.
673 void SetNotWaitingForResponse() { waiting_for_response_ = false; } 673 void SetNotWaitingForResponse() { waiting_for_response_ = false; }
674 674
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 // Maps the ids of pending image downloads to their callbacks 975 // Maps the ids of pending image downloads to their callbacks
976 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; 976 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap;
977 ImageDownloadMap image_download_map_; 977 ImageDownloadMap image_download_map_;
978 978
979 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 979 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
980 }; 980 };
981 981
982 } // namespace content 982 } // namespace content
983 983
984 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 984 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698