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

Side by Side Diff: sky/engine/core/loader/FrameLoaderClient.h

Issue 793393003: Move the call to mojo::View::Embed to HTMLIFrameElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/loader/EmptyClients.h ('k') | sky/engine/public/web/WebFrameClient.h » ('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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 virtual void dispatchAddNavigationTransitionData(const String& origin, c onst String& selector, const String& markup) { } 87 virtual void dispatchAddNavigationTransitionData(const String& origin, c onst String& selector, const String& markup) { }
88 virtual void dispatchWillRequestResource(FetchRequest*) { } 88 virtual void dispatchWillRequestResource(FetchRequest*) { }
89 89
90 virtual void didStartLoading(LoadStartType) = 0; 90 virtual void didStartLoading(LoadStartType) = 0;
91 virtual void progressEstimateChanged(double progressEstimate) = 0; 91 virtual void progressEstimateChanged(double progressEstimate) = 0;
92 virtual void didStopLoading() = 0; 92 virtual void didStopLoading() = 0;
93 93
94 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedName = String()) = 0; 94 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedName = String()) = 0;
95 95
96 virtual mojo::View* createChildFrame(const KURL&) = 0; 96 virtual mojo::View* createChildFrame() = 0;
97 97
98 // Transmits the change in the set of watched CSS selectors property 98 // Transmits the change in the set of watched CSS selectors property
99 // that match any element on the frame. 99 // that match any element on the frame.
100 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0; 100 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0;
101 101
102 virtual void transitionToCommittedForNewPage() = 0; 102 virtual void transitionToCommittedForNewPage() = 0;
103 103
104 104
105 virtual void documentElementAvailable() = 0; 105 virtual void documentElementAvailable() = 0;
106 106
107 virtual void didCreateScriptContext(v8::Handle<v8::Context>) = 0; 107 virtual void didCreateScriptContext(v8::Handle<v8::Context>) = 0;
108 virtual void willReleaseScriptContext(v8::Handle<v8::Context>) = 0; 108 virtual void willReleaseScriptContext(v8::Handle<v8::Context>) = 0;
109 109
110 virtual void didChangeScrollOffset() { } 110 virtual void didChangeScrollOffset() { }
111 111
112 // Informs the embedder that a WebGL canvas inside this frame received a lost context 112 // Informs the embedder that a WebGL canvas inside this frame received a lost context
113 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h). 113 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h).
114 virtual void didLoseWebGLContext(int) { } 114 virtual void didLoseWebGLContext(int) { }
115 115
116 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { } 116 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { }
117 117
118 virtual void dispatchDidChangeManifest() { } 118 virtual void dispatchDidChangeManifest() { }
119 119
120 virtual bool isFrameLoaderClientImpl() const { return false; } 120 virtual bool isFrameLoaderClientImpl() const { return false; }
121 }; 121 };
122 122
123 } // namespace blink 123 } // namespace blink
124 124
125 #endif // SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_ 125 #endif // SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/loader/EmptyClients.h ('k') | sky/engine/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698