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

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

Issue 220233008: Move dispatchUnloadEvent to WebFrame, part 3/3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 | 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 virtual void setIsTransparent(bool value) OVERRIDE; 180 virtual void setIsTransparent(bool value) OVERRIDE;
181 virtual void setBaseBackgroundColor(WebColor) OVERRIDE; 181 virtual void setBaseBackgroundColor(WebColor) OVERRIDE;
182 virtual bool tabsToLinks() const OVERRIDE; 182 virtual bool tabsToLinks() const OVERRIDE;
183 virtual void setTabsToLinks(bool value) OVERRIDE; 183 virtual void setTabsToLinks(bool value) OVERRIDE;
184 virtual bool tabKeyCyclesThroughElements() const OVERRIDE; 184 virtual bool tabKeyCyclesThroughElements() const OVERRIDE;
185 virtual void setTabKeyCyclesThroughElements(bool value) OVERRIDE; 185 virtual void setTabKeyCyclesThroughElements(bool value) OVERRIDE;
186 virtual bool isActive() const OVERRIDE; 186 virtual bool isActive() const OVERRIDE;
187 virtual void setIsActive(bool value) OVERRIDE; 187 virtual void setIsActive(bool value) OVERRIDE;
188 virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) OVE RRIDE; 188 virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) OVE RRIDE;
189 virtual void setWindowFeatures(const WebWindowFeatures&) OVERRIDE; 189 virtual void setWindowFeatures(const WebWindowFeatures&) OVERRIDE;
190 virtual void dispatchUnloadEvent() OVERRIDE;
191 virtual WebFrame* mainFrame() OVERRIDE; 190 virtual WebFrame* mainFrame() OVERRIDE;
192 virtual WebFrame* findFrameByName( 191 virtual WebFrame* findFrameByName(
193 const WebString& name, WebFrame* relativeToFrame) OVERRIDE; 192 const WebString& name, WebFrame* relativeToFrame) OVERRIDE;
194 virtual WebFrame* focusedFrame() OVERRIDE; 193 virtual WebFrame* focusedFrame() OVERRIDE;
195 virtual void setFocusedFrame(WebFrame*) OVERRIDE; 194 virtual void setFocusedFrame(WebFrame*) OVERRIDE;
196 virtual void setInitialFocus(bool reverse) OVERRIDE; 195 virtual void setInitialFocus(bool reverse) OVERRIDE;
197 virtual void clearFocusedElement() OVERRIDE; 196 virtual void clearFocusedElement() OVERRIDE;
198 virtual void scrollFocusedNodeIntoView() OVERRIDE; 197 virtual void scrollFocusedNodeIntoView() OVERRIDE;
199 virtual void scrollFocusedNodeIntoRect(const WebRect&) OVERRIDE; 198 virtual void scrollFocusedNodeIntoRect(const WebRect&) OVERRIDE;
200 virtual void zoomToFindInPageRect(const WebRect&) OVERRIDE; 199 virtual void zoomToFindInPageRect(const WebRect&) OVERRIDE;
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 float m_zoomFactorOverride; 764 float m_zoomFactorOverride;
766 }; 765 };
767 766
768 // We have no ways to check if the specified WebView is an instance of 767 // We have no ways to check if the specified WebView is an instance of
769 // WebViewImpl because WebViewImpl is the only implementation of WebView. 768 // WebViewImpl because WebViewImpl is the only implementation of WebView.
770 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 769 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
771 770
772 } // namespace blink 771 } // namespace blink
773 772
774 #endif 773 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698