Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 89 virtual void dispatchDidChangeIcons(IconType) override; | 89 virtual void dispatchDidChangeIcons(IconType) override; |
| 90 virtual void dispatchDidCommitLoad(LocalFrame*, HistoryItem*, HistoryCommitT ype) override; | 90 virtual void dispatchDidCommitLoad(LocalFrame*, HistoryItem*, HistoryCommitT ype) override; |
| 91 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) override; | 91 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) override; |
| 92 virtual void dispatchDidFailLoad(const ResourceError&) override; | 92 virtual void dispatchDidFailLoad(const ResourceError&) override; |
| 93 virtual void dispatchDidFinishDocumentLoad() override; | 93 virtual void dispatchDidFinishDocumentLoad() override; |
| 94 virtual void dispatchDidFinishLoad() override; | 94 virtual void dispatchDidFinishLoad() override; |
| 95 virtual void dispatchDidFirstVisuallyNonEmptyLayout() override; | 95 virtual void dispatchDidFirstVisuallyNonEmptyLayout() override; |
| 96 | 96 |
| 97 virtual void dispatchDidChangeThemeColor() override; | 97 virtual void dispatchDidChangeThemeColor() override; |
| 98 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D ocumentLoader*, NavigationPolicy, bool isTransitionNavigation) override; | 98 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D ocumentLoader*, NavigationPolicy, bool isTransitionNavigation) override; |
| 99 virtual void dispatchAddNavigationTransitionData(const String& allowedDestin ationOrigin, const String& selector, const String& markup) override; | 99 virtual void dispatchAddNavigationTransitionData( |
|
sof
2014/10/24 15:17:14
Stick with the Blink coding style of keeping it al
Zhen Wang
2014/10/27 14:14:45
Using struct now.
| |
| 100 const String& allowedDestinationOrigin, const String& selector, | |
| 101 const String& markup, const Vector<String>& names, | |
| 102 const Vector<IntRect>& rects) override; | |
| 100 virtual void dispatchWillRequestResource(FetchRequest*) override; | 103 virtual void dispatchWillRequestResource(FetchRequest*) override; |
| 101 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) override; | 104 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) override; |
| 102 virtual void dispatchWillSubmitForm(HTMLFormElement*) override; | 105 virtual void dispatchWillSubmitForm(HTMLFormElement*) override; |
| 103 virtual void didStartLoading(LoadStartType) override; | 106 virtual void didStartLoading(LoadStartType) override; |
| 104 virtual void didStopLoading() override; | 107 virtual void didStopLoading() override; |
| 105 virtual void progressEstimateChanged(double progressEstimate) override; | 108 virtual void progressEstimateChanged(double progressEstimate) override; |
| 106 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con st String& suggestedName = String()) override; | 109 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con st String& suggestedName = String()) override; |
| 107 virtual bool navigateBackForward(int offset) const override; | 110 virtual bool navigateBackForward(int offset) const override; |
| 108 virtual void didAccessInitialDocument() override; | 111 virtual void didAccessInitialDocument() override; |
| 109 virtual void didDisplayInsecureContent() override; | 112 virtual void didDisplayInsecureContent() override; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 178 // The WebFrame that owns this object and manages its lifetime. Therefore, | 181 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 179 // the web frame object is guaranteed to exist. | 182 // the web frame object is guaranteed to exist. |
| 180 WebLocalFrameImpl* m_webFrame; | 183 WebLocalFrameImpl* m_webFrame; |
| 181 }; | 184 }; |
| 182 | 185 |
| 183 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 186 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 184 | 187 |
| 185 } // namespace blink | 188 } // namespace blink |
| 186 | 189 |
| 187 #endif | 190 #endif |
| OLD | NEW |