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

Side by Side Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.h

Issue 2873503002: NOT YET READY: Improve granularity of window namespaces in Blink.
Patch Set: Rebasing... Created 3 years, 6 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
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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 void SetDevToolsFrameId(const String& devtools_frame_id) override; 224 void SetDevToolsFrameId(const String& devtools_frame_id) override;
225 225
226 void AbortClientNavigation() override; 226 void AbortClientNavigation() override;
227 227
228 TextCheckerClient& GetTextCheckerClient() const override; 228 TextCheckerClient& GetTextCheckerClient() const override;
229 229
230 std::unique_ptr<WebURLLoader> CreateURLLoader() override; 230 std::unique_ptr<WebURLLoader> CreateURLLoader() override;
231 231
232 service_manager::InterfaceProvider* GetInterfaceProvider() override; 232 service_manager::InterfaceProvider* GetInterfaceProvider() override;
233 233
234 Frame* FindFrame(const AtomicString& name) const override;
235
234 private: 236 private:
235 explicit LocalFrameClientImpl(WebLocalFrameBase*); 237 explicit LocalFrameClientImpl(WebLocalFrameBase*);
236 238
237 bool IsLocalFrameClientImpl() const override { return true; } 239 bool IsLocalFrameClientImpl() const override { return true; }
238 WebDevToolsAgentImpl* DevToolsAgent(); 240 WebDevToolsAgentImpl* DevToolsAgent();
239 241
240 // The WebFrame that owns this object and manages its lifetime. Therefore, 242 // The WebFrame that owns this object and manages its lifetime. Therefore,
241 // the web frame object is guaranteed to exist. 243 // the web frame object is guaranteed to exist.
242 Member<WebLocalFrameBase> web_frame_; 244 Member<WebLocalFrameBase> web_frame_;
243 245
244 String user_agent_; 246 String user_agent_;
245 }; 247 };
246 248
247 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 249 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
248 LocalFrameClient, 250 LocalFrameClient,
249 client, 251 client,
250 client->IsLocalFrameClientImpl(), 252 client->IsLocalFrameClientImpl(),
251 client.IsLocalFrameClientImpl()); 253 client.IsLocalFrameClientImpl());
252 254
253 } // namespace blink 255 } // namespace blink
254 256
255 #endif 257 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/web/LocalFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698