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

Side by Side Diff: sky/engine/web/FrameLoaderClientImpl.h

Issue 682413006: Add a separate call to initialize the bounds for a sky <iframe> element. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void dispatchDidReceiveTitle(const String&) override; 66 virtual void dispatchDidReceiveTitle(const String&) override;
67 virtual void dispatchDidFailLoad(const ResourceError&) override; 67 virtual void dispatchDidFailLoad(const ResourceError&) override;
68 68
69 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D ocument*, NavigationPolicy, bool isTransitionNavigation) override; 69 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D ocument*, NavigationPolicy, bool isTransitionNavigation) override;
70 virtual void dispatchAddNavigationTransitionData(const String& allowedDestin ationOrigin, const String& selector, const String& markup) override; 70 virtual void dispatchAddNavigationTransitionData(const String& allowedDestin ationOrigin, const String& selector, const String& markup) override;
71 virtual void dispatchWillRequestResource(FetchRequest*) override; 71 virtual void dispatchWillRequestResource(FetchRequest*) override;
72 virtual void didStartLoading(LoadStartType) override; 72 virtual void didStartLoading(LoadStartType) override;
73 virtual void didStopLoading() override; 73 virtual void didStopLoading() override;
74 virtual void progressEstimateChanged(double progressEstimate) override; 74 virtual void progressEstimateChanged(double progressEstimate) override;
75 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con st String& suggestedName = String()) override; 75 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con st String& suggestedName = String()) override;
76 virtual void createView(const KURL&) override; 76 virtual uint32_t createChildFrame(const KURL&) override;
77 virtual void initializeChildFrame(uint32_t, const IntRect&) override;
77 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) override; 78 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) override;
78 virtual void transitionToCommittedForNewPage() override; 79 virtual void transitionToCommittedForNewPage() override;
79 virtual void didChangeScrollOffset() override; 80 virtual void didChangeScrollOffset() override;
80 virtual void didRemoveAllPendingStylesheet() override; 81 virtual void didRemoveAllPendingStylesheet() override;
81 82
82 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid e; 83 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid e;
83 84
84 virtual void dispatchDidChangeManifest() override; 85 virtual void dispatchDidChangeManifest() override;
85 86
86 private: 87 private:
87 virtual bool isFrameLoaderClientImpl() const override { return true; } 88 virtual bool isFrameLoaderClientImpl() const override { return true; }
88 89
89 // The WebFrame that owns this object and manages its lifetime. Therefore, 90 // The WebFrame that owns this object and manages its lifetime. Therefore,
90 // the web frame object is guaranteed to exist. 91 // the web frame object is guaranteed to exist.
91 WebLocalFrameImpl* m_webFrame; 92 WebLocalFrameImpl* m_webFrame;
92 }; 93 };
93 94
94 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 95 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
95 96
96 } // namespace blink 97 } // namespace blink
97 98
98 #endif 99 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698