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

Side by Side Diff: Source/WebCore/loader/FrameLoaderClient.h

Issue 13544008: Remove PlatformWidget references (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 virtual void didExhaustMemoryAvailableForScript() { }; 296 virtual void didExhaustMemoryAvailableForScript() { };
297 297
298 #if USE(V8) 298 #if USE(V8)
299 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0; 299 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0;
300 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0; 300 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0;
301 virtual bool allowScriptExtension(const String& extensionName, int exten sionGroup, int worldId) = 0; 301 virtual bool allowScriptExtension(const String& extensionName, int exten sionGroup, int worldId) = 0;
302 #endif 302 #endif
303 303
304 virtual void registerForIconNotification(bool listen = true) = 0; 304 virtual void registerForIconNotification(bool listen = true) = 0;
305 305
306 #if PLATFORM(MAC)
307 // Allow an accessibility object to retrieve a Frame parent if there's n o PlatformWidget.
308 virtual RemoteAXObjectRef accessibilityRemoteObject() = 0;
309 virtual NSCachedURLResponse* willCacheResponse(DocumentLoader*, unsigned long identifier, NSCachedURLResponse*) const = 0;
310 #endif
311 #if PLATFORM(WIN) && USE(CFNETWORK) 306 #if PLATFORM(WIN) && USE(CFNETWORK)
312 // FIXME: Windows should use willCacheResponse - <https://bugs.webkit.or g/show_bug.cgi?id=57257>. 307 // FIXME: Windows should use willCacheResponse - <https://bugs.webkit.or g/show_bug.cgi?id=57257>.
313 virtual bool shouldCacheResponse(DocumentLoader*, unsigned long identifi er, const ResourceResponse&, const unsigned char* data, unsigned long long lengt h) = 0; 308 virtual bool shouldCacheResponse(DocumentLoader*, unsigned long identifi er, const ResourceResponse&, const unsigned char* data, unsigned long long lengt h) = 0;
314 #endif 309 #endif
315 310
316 virtual bool shouldUsePluginDocument(const String& /*mimeType*/) const { return false; } 311 virtual bool shouldUsePluginDocument(const String& /*mimeType*/) const { return false; }
317 virtual bool shouldLoadMediaElementURL(const KURL&) const { return true; } 312 virtual bool shouldLoadMediaElementURL(const KURL&) const { return true; }
318 313
319 virtual void didChangeScrollOffset() { } 314 virtual void didChangeScrollOffset() { }
320 315
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 365
371 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 366 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
372 virtual void dispatchWillInsertBody() { } 367 virtual void dispatchWillInsertBody() { }
373 368
374 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 369 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
375 }; 370 };
376 371
377 } // namespace WebCore 372 } // namespace WebCore
378 373
379 #endif // FrameLoaderClient_h 374 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698