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

Side by Side Diff: Source/core/page/Chrome.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/animation/KeyframeAnimation.h ('k') | Source/core/page/DOMSelection.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, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class Page; 46 class Page;
47 class PopupMenu; 47 class PopupMenu;
48 class PopupMenuClient; 48 class PopupMenuClient;
49 class PopupOpeningObserver; 49 class PopupOpeningObserver;
50 class SearchPopupMenu; 50 class SearchPopupMenu;
51 51
52 struct DateTimeChooserParameters; 52 struct DateTimeChooserParameters;
53 struct ViewportDescription; 53 struct ViewportDescription;
54 struct WindowFeatures; 54 struct WindowFeatures;
55 55
56 class Chrome : public HostWindow { 56 class Chrome FINAL : public HostWindow {
57 public: 57 public:
58 ~Chrome(); 58 virtual ~Chrome();
59 59
60 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); 60 static PassOwnPtr<Chrome> create(Page*, ChromeClient*);
61 61
62 ChromeClient& client() { return *m_client; } 62 ChromeClient& client() { return *m_client; }
63 63
64 // HostWindow methods. 64 // HostWindow methods.
65 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE; 65 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE;
66 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE; 66 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE;
67 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE ; 67 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE ;
68 virtual IntPoint screenToRootView(const IntPoint&) const OVERRIDE; 68 virtual IntPoint screenToRootView(const IntPoint&) const OVERRIDE;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void notifyPopupOpeningObservers() const; 140 void notifyPopupOpeningObservers() const;
141 141
142 Page* m_page; 142 Page* m_page;
143 ChromeClient* m_client; 143 ChromeClient* m_client;
144 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 144 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
145 }; 145 };
146 146
147 } 147 }
148 148
149 #endif // Chrome_h 149 #endif // Chrome_h
OLDNEW
« no previous file with comments | « Source/core/frame/animation/KeyframeAnimation.h ('k') | Source/core/page/DOMSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698