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

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

Issue 2389633002: reflow comments in web/ (Closed)
Patch Set: . Created 4 years, 2 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
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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 // will be true if a new session history item should be created for that 362 // will be true if a new session history item should be created for that
363 // load. isNavigationWithinPage will be true if the navigation does 363 // load. isNavigationWithinPage will be true if the navigation does
364 // not take the user away from the current page. 364 // not take the user away from the current page.
365 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage); 365 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage);
366 366
367 void postLayoutResize(WebLocalFrameImpl* webframe); 367 void postLayoutResize(WebLocalFrameImpl* webframe);
368 368
369 // Indicates two things: 369 // Indicates two things:
370 // 1) This view may have a new layout now. 370 // 1) This view may have a new layout now.
371 // 2) Calling updateAllLifecyclePhases() is a no-op. 371 // 2) Calling updateAllLifecyclePhases() is a no-op.
372 // After calling WebWidget::updateAllLifecyclePhases(), expect to get this not ification 372 // After calling WebWidget::updateAllLifecyclePhases(), expect to get this
373 // unless the view did not need a layout. 373 // notification unless the view did not need a layout.
374 void layoutUpdated(WebLocalFrameImpl*); 374 void layoutUpdated(WebLocalFrameImpl*);
375 375
376 void didChangeContentsSize(); 376 void didChangeContentsSize();
377 void pageScaleFactorChanged(); 377 void pageScaleFactorChanged();
378 void mainFrameScrollOffsetChanged(); 378 void mainFrameScrollOffsetChanged();
379 379
380 // Returns true if popup menus should be rendered by the browser, false if 380 // Returns true if popup menus should be rendered by the browser, false if
381 // they should be rendered by WebKit (which is the default). 381 // they should be rendered by WebKit (which is the default).
382 static bool useExternalPopupMenus(); 382 static bool useExternalPopupMenus();
383 383
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 777 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
778 }; 778 };
779 779
780 // We have no ways to check if the specified WebView is an instance of 780 // We have no ways to check if the specified WebView is an instance of
781 // WebViewImpl because WebViewImpl is the only implementation of WebView. 781 // WebViewImpl because WebViewImpl is the only implementation of WebView.
782 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 782 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
783 783
784 } // namespace blink 784 } // namespace blink
785 785
786 #endif 786 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSurroundingText.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698