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

Side by Side Diff: third_party/WebKit/Source/core/dom/DOMURL.h

Issue 1921063002: Factor File API's 'partial interface URL' impl into separate files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/DOMURL.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Motorola Mobility Inc. 3 * Copyright (C) 2012 Motorola Mobility Inc.
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 { 49 {
50 return new DOMURL(url, blankURL(), exceptionState); 50 return new DOMURL(url, blankURL(), exceptionState);
51 } 51 }
52 52
53 static DOMURL* create(const String& url, const String& base, ExceptionState& exceptionState) 53 static DOMURL* create(const String& url, const String& base, ExceptionState& exceptionState)
54 { 54 {
55 return new DOMURL(url, KURL(KURL(), base), exceptionState); 55 return new DOMURL(url, KURL(KURL(), base), exceptionState);
56 } 56 }
57 ~DOMURL(); 57 ~DOMURL();
58 58
59 static String createObjectURL(ExecutionContext*, Blob*, ExceptionState&);
60 static void revokeObjectURL(ExecutionContext*, const String&);
61
62 CORE_EXPORT static String createPublicURL(ExecutionContext*, URLRegistrable* , const String& uuid = String()); 59 CORE_EXPORT static String createPublicURL(ExecutionContext*, URLRegistrable* , const String& uuid = String());
63 static void revokeObjectUUID(ExecutionContext*, const String&); 60 static void revokeObjectUUID(ExecutionContext*, const String&);
64 61
65 KURL url() const override { return m_url; } 62 KURL url() const override { return m_url; }
66 void setURL(const KURL& url) override { m_url = url; } 63 void setURL(const KURL& url) override { m_url = url; }
67 64
68 String input() const override { return m_input; } 65 String input() const override { return m_input; }
69 void setInput(const String&) override; 66 void setInput(const String&) override;
70 67
71 void setSearch(const String&) override; 68 void setSearch(const String&) override;
(...skipping 10 matching lines...) Expand all
82 void updateSearchParams(const String&); 79 void updateSearchParams(const String&);
83 80
84 KURL m_url; 81 KURL m_url;
85 String m_input; 82 String m_input;
86 WeakMember<URLSearchParams> m_searchParams; 83 WeakMember<URLSearchParams> m_searchParams;
87 }; 84 };
88 85
89 } // namespace blink 86 } // namespace blink
90 87
91 #endif // DOMURL_h 88 #endif // DOMURL_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/DOMURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698