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

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

Issue 708903002: Initial work on a new <view> element backed by a mojo::View. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: m_URL 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
« no previous file with comments | « sky/engine/public/web/WebFrameClient.h ('k') | sky/engine/web/FrameLoaderClientImpl.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) 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 void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) override; 77 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) override;
77 virtual void transitionToCommittedForNewPage() override; 78 virtual void transitionToCommittedForNewPage() override;
78 virtual void didChangeScrollOffset() override; 79 virtual void didChangeScrollOffset() override;
79 virtual void didRemoveAllPendingStylesheet() override; 80 virtual void didRemoveAllPendingStylesheet() override;
80 81
81 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid e; 82 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid e;
82 83
83 virtual void dispatchDidChangeManifest() override; 84 virtual void dispatchDidChangeManifest() override;
84 85
85 private: 86 private:
86 virtual bool isFrameLoaderClientImpl() const override { return true; } 87 virtual bool isFrameLoaderClientImpl() const override { return true; }
87 88
88 // The WebFrame that owns this object and manages its lifetime. Therefore, 89 // The WebFrame that owns this object and manages its lifetime. Therefore,
89 // the web frame object is guaranteed to exist. 90 // the web frame object is guaranteed to exist.
90 WebLocalFrameImpl* m_webFrame; 91 WebLocalFrameImpl* m_webFrame;
91 }; 92 };
92 93
93 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 94 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
94 95
95 } // namespace blink 96 } // namespace blink
96 97
97 #endif 98 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebFrameClient.h ('k') | sky/engine/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698