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

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

Issue 2121953003: remove duplicate friend declaration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | no next file » | 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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 void resizeViewWhileAnchored(FrameView*, float topControlsHeight, bool topCo ntrolsShrinkLayout); 537 void resizeViewWhileAnchored(FrameView*, float topControlsHeight, bool topCo ntrolsShrinkLayout);
538 538
539 // Overrides the compositor visibility. See the description of 539 // Overrides the compositor visibility. See the description of
540 // m_overrideCompositorVisibility for more details. 540 // m_overrideCompositorVisibility for more details.
541 void setCompositorVisibility(bool); 541 void setCompositorVisibility(bool);
542 542
543 friend class WebView; // So WebView::Create can call our constructor 543 friend class WebView; // So WebView::Create can call our constructor
544 friend class WebViewFrameWidget; 544 friend class WebViewFrameWidget;
545 friend class WTF::RefCounted<WebViewImpl>; 545 friend class WTF::RefCounted<WebViewImpl>;
546 friend void setCurrentInputEventForTest(const WebInputEvent*); 546 friend void setCurrentInputEventForTest(const WebInputEvent*);
547 friend class WebViewFrameWidget;
548 547
549 enum DragAction { 548 enum DragAction {
550 DragEnter, 549 DragEnter,
551 DragOver 550 DragOver
552 }; 551 };
553 552
554 explicit WebViewImpl(WebViewClient*, WebPageVisibilityState); 553 explicit WebViewImpl(WebViewClient*, WebPageVisibilityState);
555 ~WebViewImpl() override; 554 ~WebViewImpl() override;
556 555
557 int textInputFlags(); 556 int textInputFlags();
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 bool m_overrideCompositorVisibility; 771 bool m_overrideCompositorVisibility;
773 }; 772 };
774 773
775 // We have no ways to check if the specified WebView is an instance of 774 // We have no ways to check if the specified WebView is an instance of
776 // WebViewImpl because WebViewImpl is the only implementation of WebView. 775 // WebViewImpl because WebViewImpl is the only implementation of WebView.
777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
778 777
779 } // namespace blink 778 } // namespace blink
780 779
781 #endif 780 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698