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

Side by Side Diff: Source/core/frame/Location.h

Issue 134043004: Update page & frame classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 | « Source/core/frame/ImageBitmap.h ('k') | Source/core/frame/Navigator.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) 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class DOMWindow; 41 class DOMWindow;
42 class ExceptionState; 42 class ExceptionState;
43 class Frame; 43 class Frame;
44 class KURL; 44 class KURL;
45 45
46 class Location : public ScriptWrappable, public RefCounted<Location>, public DOM WindowProperty { 46 class Location FINAL : public ScriptWrappable, public RefCounted<Location>, publ ic DOMWindowProperty {
47 public: 47 public:
48 static PassRefPtr<Location> create(Frame* frame) { return adoptRef(new Locat ion(frame)); } 48 static PassRefPtr<Location> create(Frame* frame) { return adoptRef(new Locat ion(frame)); }
49 49
50 void setHref(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&) ; 50 void setHref(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&) ;
51 String href() const; 51 String href() const;
52 52
53 void assign(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&); 53 void assign(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&);
54 void replace(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&) ; 54 void replace(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&) ;
55 void reload(DOMWindow* activeWindow); 55 void reload(DOMWindow* activeWindow);
56 56
(...skipping 19 matching lines...) Expand all
76 explicit Location(Frame*); 76 explicit Location(Frame*);
77 77
78 void setLocation(const String&, DOMWindow* activeWindow, DOMWindow* firstWin dow); 78 void setLocation(const String&, DOMWindow* activeWindow, DOMWindow* firstWin dow);
79 79
80 const KURL& url() const; 80 const KURL& url() const;
81 }; 81 };
82 82
83 } // namespace WebCore 83 } // namespace WebCore
84 84
85 #endif // Location_h 85 #endif // Location_h
OLDNEW
« no previous file with comments | « Source/core/frame/ImageBitmap.h ('k') | Source/core/frame/Navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698