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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 318843003: Cleanup v8 usage in core (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Skia compile Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/ScriptProfile.cpp ('k') | Source/core/loader/FrameLoaderClient.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 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 29 matching lines...) Expand all
40 #include "core/page/FocusType.h" 40 #include "core/page/FocusType.h"
41 #include "core/page/Page.h" 41 #include "core/page/Page.h"
42 #include "core/page/SpellCheckerClient.h" 42 #include "core/page/SpellCheckerClient.h"
43 #include "core/page/StorageClient.h" 43 #include "core/page/StorageClient.h"
44 #include "platform/DragImage.h" 44 #include "platform/DragImage.h"
45 #include "platform/geometry/FloatRect.h" 45 #include "platform/geometry/FloatRect.h"
46 #include "platform/network/ResourceError.h" 46 #include "platform/network/ResourceError.h"
47 #include "platform/text/TextCheckerClient.h" 47 #include "platform/text/TextCheckerClient.h"
48 #include "public/platform/WebScreenInfo.h" 48 #include "public/platform/WebScreenInfo.h"
49 #include "wtf/Forward.h" 49 #include "wtf/Forward.h"
50
51 #include <v8.h> 50 #include <v8.h>
52 51
53 /* 52 /*
54 This file holds empty Client stubs for use by WebCore. 53 This file holds empty Client stubs for use by WebCore.
55 Viewless element needs to create a dummy Page->LocalFrame->FrameView tree for u se in parsing or executing JavaScript. 54 Viewless element needs to create a dummy Page->LocalFrame->FrameView tree for u se in parsing or executing JavaScript.
56 This tree depends heavily on Clients (usually provided by WebKit classes). 55 This tree depends heavily on Clients (usually provided by WebKit classes).
57 56
58 This file was first created for SVGImage as it had no way to access the current Page (nor should it, 57 This file was first created for SVGImage as it had no way to access the current Page (nor should it,
59 since Images are not tied to a page). 58 since Images are not tied to a page).
60 See http://bugs.webkit.org/show_bug.cgi?id=5971 for the original discussion abo ut this file. 59 See http://bugs.webkit.org/show_bug.cgi?id=5971 for the original discussion abo ut this file.
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 public: 332 public:
334 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E; 333 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E;
335 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; } 334 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; }
336 }; 335 };
337 336
338 void fillWithEmptyClients(Page::PageClients&); 337 void fillWithEmptyClients(Page::PageClients&);
339 338
340 } 339 }
341 340
342 #endif // EmptyClients_h 341 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/inspector/ScriptProfile.cpp ('k') | Source/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698