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

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

Issue 2674253004: [refactor] Remove WebWidget::applyReplacementRange (Closed)
Patch Set: more refactoring Created 3 years, 10 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 void resizeViewWhileAnchored(float browserControlsHeight, 523 void resizeViewWhileAnchored(float browserControlsHeight,
524 bool browserControlsShrinkLayout); 524 bool browserControlsShrinkLayout);
525 525
526 // Overrides the compositor visibility. See the description of 526 // Overrides the compositor visibility. See the description of
527 // m_overrideCompositorVisibility for more details. 527 // m_overrideCompositorVisibility for more details.
528 void setCompositorVisibility(bool); 528 void setCompositorVisibility(bool);
529 529
530 // TODO(lfg): Remove once WebViewFrameWidget is deleted. 530 // TODO(lfg): Remove once WebViewFrameWidget is deleted.
531 void scheduleAnimationForWidget(); 531 void scheduleAnimationForWidget();
532 bool getCompositionCharacterBounds(WebVector<WebRect>&) override; 532 bool getCompositionCharacterBounds(WebVector<WebRect>&) override;
533 void applyReplacementRange(const WebRange&) override;
534 533
535 friend class WebView; // So WebView::Create can call our constructor 534 friend class WebView; // So WebView::Create can call our constructor
536 friend class WebViewFrameWidget; 535 friend class WebViewFrameWidget;
537 friend class WTF::RefCounted<WebViewImpl>; 536 friend class WTF::RefCounted<WebViewImpl>;
538 friend void setCurrentInputEventForTest(const WebInputEvent*); 537 friend void setCurrentInputEventForTest(const WebInputEvent*);
539 538
540 explicit WebViewImpl(WebViewClient*, WebPageVisibilityState); 539 explicit WebViewImpl(WebViewClient*, WebPageVisibilityState);
541 ~WebViewImpl() override; 540 ~WebViewImpl() override;
542 541
543 void hideSelectPopup(); 542 void hideSelectPopup();
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 738 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
740 }; 739 };
741 740
742 // We have no ways to check if the specified WebView is an instance of 741 // We have no ways to check if the specified WebView is an instance of
743 // WebViewImpl because WebViewImpl is the only implementation of WebView. 742 // WebViewImpl because WebViewImpl is the only implementation of WebView.
744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 743 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
745 744
746 } // namespace blink 745 } // namespace blink
747 746
748 #endif 747 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698