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

Side by Side Diff: sky/engine/web/WebLocalFrameImpl.h

Issue 727933002: Remove FINAL macro to make chromium presubmit happy (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/web/WebLeakDetector.cpp ('k') | sky/engine/web/WebSettingsImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class KURL; 47 class KURL;
48 class Node; 48 class Node;
49 class Range; 49 class Range;
50 class WebFrameClient; 50 class WebFrameClient;
51 class WebView; 51 class WebView;
52 class WebViewImpl; 52 class WebViewImpl;
53 53
54 template <typename T> class WebVector; 54 template <typename T> class WebVector;
55 55
56 // Implementation of WebFrame, note that this is a reference counted object. 56 // Implementation of WebFrame, note that this is a reference counted object.
57 class WebLocalFrameImpl FINAL 57 class WebLocalFrameImpl final
58 : public WebLocalFrame 58 : public WebLocalFrame
59 , public RefCounted<WebLocalFrameImpl> { 59 , public RefCounted<WebLocalFrameImpl> {
60 public: 60 public:
61 // WebFrame methods: 61 // WebFrame methods:
62 virtual bool isWebLocalFrame() const override; 62 virtual bool isWebLocalFrame() const override;
63 virtual WebLocalFrame* toWebLocalFrame() override; 63 virtual WebLocalFrame* toWebLocalFrame() override;
64 virtual void close() override; 64 virtual void close() override;
65 virtual WebSize contentsSize() const override; 65 virtual WebSize contentsSize() const override;
66 virtual bool hasVisibleContent() const override; 66 virtual bool hasVisibleContent() const override;
67 virtual WebRect visibleContentRect() const override; 67 virtual WebRect visibleContentRect() const override;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 179 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
180 IntSize m_inputEventsOffsetForEmulation; 180 IntSize m_inputEventsOffsetForEmulation;
181 float m_inputEventsScaleFactorForEmulation; 181 float m_inputEventsScaleFactorForEmulation;
182 }; 182 };
183 183
184 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 184 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
185 185
186 } // namespace blink 186 } // namespace blink
187 187
188 #endif 188 #endif
OLDNEW
« no previous file with comments | « sky/engine/web/WebLeakDetector.cpp ('k') | sky/engine/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698