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

Side by Side Diff: Source/web/FrameLoaderClientImpl.h

Issue 241303002: Rename WebFrameImpl to WebLocalFrameImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac too Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/EditorClientImpl.cpp ('k') | Source/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 21 matching lines...) Expand all
32 #ifndef FrameLoaderClientImpl_h 32 #ifndef FrameLoaderClientImpl_h
33 #define FrameLoaderClientImpl_h 33 #define FrameLoaderClientImpl_h
34 34
35 #include "core/loader/FrameLoaderClient.h" 35 #include "core/loader/FrameLoaderClient.h"
36 #include "platform/weborigin/KURL.h" 36 #include "platform/weborigin/KURL.h"
37 #include "wtf/PassOwnPtr.h" 37 #include "wtf/PassOwnPtr.h"
38 #include "wtf/RefPtr.h" 38 #include "wtf/RefPtr.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class WebFrameImpl; 42 class WebLocalFrameImpl;
43 class WebPluginContainerImpl; 43 class WebPluginContainerImpl;
44 class WebPluginLoadObserver; 44 class WebPluginLoadObserver;
45 45
46 class FrameLoaderClientImpl FINAL : public WebCore::FrameLoaderClient { 46 class FrameLoaderClientImpl FINAL : public WebCore::FrameLoaderClient {
47 public: 47 public:
48 FrameLoaderClientImpl(WebFrameImpl* webFrame); 48 FrameLoaderClientImpl(WebLocalFrameImpl* webFrame);
49 virtual ~FrameLoaderClientImpl(); 49 virtual ~FrameLoaderClientImpl();
50 50
51 WebFrameImpl* webFrame() const { return m_webFrame; } 51 WebLocalFrameImpl* webFrame() const { return m_webFrame; }
52 52
53 // WebCore::FrameLoaderClient ---------------------------------------------- 53 // WebCore::FrameLoaderClient ----------------------------------------------
54 54
55 // Notifies the WebView delegate that the JS window object has been cleared, 55 // Notifies the WebView delegate that the JS window object has been cleared,
56 // giving it a chance to bind native objects to the window before script 56 // giving it a chance to bind native objects to the window before script
57 // parsing begins. 57 // parsing begins.
58 virtual void dispatchDidClearWindowObjectInWorld(WebCore::DOMWrapperWorld&) OVERRIDE; 58 virtual void dispatchDidClearWindowObjectInWorld(WebCore::DOMWrapperWorld&) OVERRIDE;
59 virtual void documentElementAvailable() OVERRIDE; 59 virtual void documentElementAvailable() OVERRIDE;
60 60
61 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE; 61 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 virtual void didStopAllLoaders() OVERRIDE; 160 virtual void didStopAllLoaders() OVERRIDE;
161 161
162 private: 162 private:
163 virtual bool isFrameLoaderClientImpl() const OVERRIDE { return true; } 163 virtual bool isFrameLoaderClientImpl() const OVERRIDE { return true; }
164 164
165 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(WebCore::DocumentLoader *); 165 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(WebCore::DocumentLoader *);
166 166
167 // The WebFrame that owns this object and manages its lifetime. Therefore, 167 // The WebFrame that owns this object and manages its lifetime. Therefore,
168 // the web frame object is guaranteed to exist. 168 // the web frame object is guaranteed to exist.
169 WebFrameImpl* m_webFrame; 169 WebLocalFrameImpl* m_webFrame;
170 }; 170 };
171 171
172 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 172 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl());
173 173
174 } // namespace blink 174 } // namespace blink
175 175
176 #endif 176 #endif
OLDNEW
« no previous file with comments | « Source/web/EditorClientImpl.cpp ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698