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

Side by Side Diff: Source/web/WebFrameImpl.h

Issue 191003006: Framework for converting embedder uses of WebFrame to WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.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) 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 class WebPerformance; 65 class WebPerformance;
66 class WebPluginContainerImpl; 66 class WebPluginContainerImpl;
67 class WebView; 67 class WebView;
68 class WebViewImpl; 68 class WebViewImpl;
69 struct WebPrintParams; 69 struct WebPrintParams;
70 70
71 template <typename T> class WebVector; 71 template <typename T> class WebVector;
72 72
73 // Implementation of WebFrame, note that this is a reference counted object. 73 // Implementation of WebFrame, note that this is a reference counted object.
74 class WebFrameImpl FINAL 74 class WebFrameImpl FINAL
75 : public WebFrame 75 : public WebLocalFrame
76 , public RefCounted<WebFrameImpl> { 76 , public RefCounted<WebFrameImpl> {
77 public: 77 public:
78 // WebFrame methods: 78 // WebFrame methods:
79 virtual WebLocalFrame* toWebLocalFrame() OVERRIDE { return this; }
79 virtual void close() OVERRIDE; 80 virtual void close() OVERRIDE;
80 virtual WebString uniqueName() const OVERRIDE; 81 virtual WebString uniqueName() const OVERRIDE;
81 virtual WebString assignedName() const OVERRIDE; 82 virtual WebString assignedName() const OVERRIDE;
82 virtual void setName(const WebString&) OVERRIDE; 83 virtual void setName(const WebString&) OVERRIDE;
83 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; 84 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE;
84 virtual void setIsRemote(bool) OVERRIDE; 85 virtual void setIsRemote(bool) OVERRIDE;
85 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; 86 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE;
86 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; 87 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE;
87 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) OVERRIDE; 88 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) OVERRIDE;
88 virtual WebSize scrollOffset() const OVERRIDE; 89 virtual WebSize scrollOffset() const OVERRIDE;
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 511 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
511 WebCore::IntSize m_inputEventsOffsetForEmulation; 512 WebCore::IntSize m_inputEventsOffsetForEmulation;
512 float m_inputEventsScaleFactorForEmulation; 513 float m_inputEventsScaleFactorForEmulation;
513 }; 514 };
514 515
515 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); 516 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true);
516 517
517 } // namespace blink 518 } // namespace blink
518 519
519 #endif 520 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698