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

Side by Side Diff: sky/engine/core/loader/FrameLoaderClient.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/core/loader/EmptyClients.h ('k') | sky/engine/core/rendering/RenderRemote.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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 virtual void dispatchAddNavigationTransitionData(const String& origin, c onst String& selector, const String& markup) { } 81 virtual void dispatchAddNavigationTransitionData(const String& origin, c onst String& selector, const String& markup) { }
82 virtual void dispatchWillRequestResource(FetchRequest*) { } 82 virtual void dispatchWillRequestResource(FetchRequest*) { }
83 83
84 virtual void didStartLoading(LoadStartType) = 0; 84 virtual void didStartLoading(LoadStartType) = 0;
85 virtual void progressEstimateChanged(double progressEstimate) = 0; 85 virtual void progressEstimateChanged(double progressEstimate) = 0;
86 virtual void didStopLoading() = 0; 86 virtual void didStopLoading() = 0;
87 87
88 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedName = String()) = 0; 88 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedName = String()) = 0;
89 89
90 // TODO(mpcomplete): return surface ID?
91 virtual void createView(const KURL&) = 0;
92
90 // Transmits the change in the set of watched CSS selectors property 93 // Transmits the change in the set of watched CSS selectors property
91 // that match any element on the frame. 94 // that match any element on the frame.
92 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0; 95 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0;
93 96
94 virtual void transitionToCommittedForNewPage() = 0; 97 virtual void transitionToCommittedForNewPage() = 0;
95 98
96 99
97 virtual void documentElementAvailable() = 0; 100 virtual void documentElementAvailable() = 0;
98 101
99 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0; 102 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0;
100 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0; 103 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0;
101 104
102 virtual void didChangeScrollOffset() { } 105 virtual void didChangeScrollOffset() { }
103 virtual void didRemoveAllPendingStylesheet() { } 106 virtual void didRemoveAllPendingStylesheet() { }
104 107
105 // Informs the embedder that a WebGL canvas inside this frame received a lost context 108 // Informs the embedder that a WebGL canvas inside this frame received a lost context
106 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h). 109 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h).
107 virtual void didLoseWebGLContext(int) { } 110 virtual void didLoseWebGLContext(int) { }
108 111
109 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { } 112 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { }
110 113
111 virtual void dispatchDidChangeManifest() { } 114 virtual void dispatchDidChangeManifest() { }
112 115
113 virtual bool isFrameLoaderClientImpl() const { return false; } 116 virtual bool isFrameLoaderClientImpl() const { return false; }
114 }; 117 };
115 118
116 } // namespace blink 119 } // namespace blink
117 120
118 #endif // FrameLoaderClient_h 121 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « sky/engine/core/loader/EmptyClients.h ('k') | sky/engine/core/rendering/RenderRemote.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698