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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 169043004: Start commit on last stylesheet loaded if we already have the HTML body (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@deferredcommit
Patch Set: Compile fix Created 6 years, 4 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
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage); 346 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage);
347 347
348 // Indicates two things: 348 // Indicates two things:
349 // 1) This view may have a new layout now. 349 // 1) This view may have a new layout now.
350 // 2) Calling layout() is a no-op. 350 // 2) Calling layout() is a no-op.
351 // After calling WebWidget::layout(), expect to get this notification 351 // After calling WebWidget::layout(), expect to get this notification
352 // unless the view did not need a layout. 352 // unless the view did not need a layout.
353 void layoutUpdated(WebLocalFrameImpl*); 353 void layoutUpdated(WebLocalFrameImpl*);
354 354
355 void willInsertBody(WebLocalFrameImpl*); 355 void willInsertBody(WebLocalFrameImpl*);
356 void didRemoveAllPendingStylesheet(WebLocalFrameImpl*);
356 void didChangeContentsSize(); 357 void didChangeContentsSize();
357 void deviceOrPageScaleFactorChanged(); 358 void deviceOrPageScaleFactorChanged();
358 359
359 // Returns true if popup menus should be rendered by the browser, false if 360 // Returns true if popup menus should be rendered by the browser, false if
360 // they should be rendered by WebKit (which is the default). 361 // they should be rendered by WebKit (which is the default).
361 static bool useExternalPopupMenus(); 362 static bool useExternalPopupMenus();
362 363
363 bool contextMenuAllowed() const 364 bool contextMenuAllowed() const
364 { 365 {
365 return m_contextMenuAllowed; 366 return m_contextMenuAllowed;
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 bool m_userGestureObserved; 717 bool m_userGestureObserved;
717 }; 718 };
718 719
719 // We have no ways to check if the specified WebView is an instance of 720 // We have no ways to check if the specified WebView is an instance of
720 // WebViewImpl because WebViewImpl is the only implementation of WebView. 721 // WebViewImpl because WebViewImpl is the only implementation of WebView.
721 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 722 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
722 723
723 } // namespace blink 724 } // namespace blink
724 725
725 #endif 726 #endif
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698