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

Side by Side Diff: sky/engine/core/dom/DOMURL.h

Issue 700753006: Remove PublicURLManager. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/core.gni ('k') | sky/engine/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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 static PassRefPtr<DOMURL> create(const String& url, const String& base, Exce ptionState& exceptionState) 50 static PassRefPtr<DOMURL> create(const String& url, const String& base, Exce ptionState& exceptionState)
51 { 51 {
52 return adoptRef(new DOMURL(url, KURL(KURL(), base), exceptionState)); 52 return adoptRef(new DOMURL(url, KURL(KURL(), base), exceptionState));
53 } 53 }
54 static PassRefPtr<DOMURL> create(const String& url, PassRefPtr<DOMURL> base, ExceptionState& exceptionState) 54 static PassRefPtr<DOMURL> create(const String& url, PassRefPtr<DOMURL> base, ExceptionState& exceptionState)
55 { 55 {
56 ASSERT(base); 56 ASSERT(base);
57 return adoptRef(new DOMURL(url, base->m_url, exceptionState)); 57 return adoptRef(new DOMURL(url, base->m_url, exceptionState));
58 } 58 }
59 59
60 static void revokeObjectUUID(ExecutionContext*, const String&);
61
62 virtual KURL url() const override { return m_url; } 60 virtual KURL url() const override { return m_url; }
63 virtual void setURL(const KURL& url) override { m_url = url; } 61 virtual void setURL(const KURL& url) override { m_url = url; }
64 62
65 virtual String input() const override { return m_input; } 63 virtual String input() const override { return m_input; }
66 virtual void setInput(const String&) override; 64 virtual void setInput(const String&) override;
67 65
68 void trace(Visitor*) { } 66 void trace(Visitor*) { }
69 67
70 private: 68 private:
71 DOMURL(const String& url, const KURL& base, ExceptionState&); 69 DOMURL(const String& url, const KURL& base, ExceptionState&);
72 70
73 KURL m_url; 71 KURL m_url;
74 String m_input; 72 String m_input;
75 }; 73 };
76 74
77 } // namespace blink 75 } // namespace blink
78 76
79 #endif // DOMURL_h 77 #endif // DOMURL_h
OLDNEW
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/dom/DOMURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698