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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2601763002: WebFrame cleanup: Move addMessageToConsole to WebLocalFrame (Closed)
Patch Set: Created 3 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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 template <typename T> 76 template <typename T>
77 class WebVector; 77 class WebVector;
78 78
79 // Implementation of WebFrame, note that this is a reference counted object. 79 // Implementation of WebFrame, note that this is a reference counted object.
80 class WEB_EXPORT WebLocalFrameImpl final 80 class WEB_EXPORT WebLocalFrameImpl final
81 : public WebFrameImplBase, 81 : public WebFrameImplBase,
82 NON_EXPORTED_BASE(public WebLocalFrame) { 82 NON_EXPORTED_BASE(public WebLocalFrame) {
83 public: 83 public:
84 // WebFrame methods: 84 // WebFrame methods:
85 // TODO(dcheng): Fix sorting here; a number of method have been moved to
86 // WebLocalFrame but not correctly updated here.
85 void close() override; 87 void close() override;
86 WebString uniqueName() const override; 88 WebString uniqueName() const override;
87 WebString assignedName() const override; 89 WebString assignedName() const override;
88 void setName(const WebString&) override; 90 void setName(const WebString&) override;
89 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override; 91 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override;
90 void setContentSettingsClient(WebContentSettingsClient*) override; 92 void setContentSettingsClient(WebContentSettingsClient*) override;
91 void setSharedWorkerRepositoryClient( 93 void setSharedWorkerRepositoryClient(
92 WebSharedWorkerRepositoryClient*) override; 94 WebSharedWorkerRepositoryClient*) override;
93 WebSize getScrollOffset() const override; 95 WebSize getScrollOffset() const override;
94 void setScrollOffset(const WebSize&) override; 96 void setScrollOffset(const WebSize&) override;
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 479
478 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 480 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
479 WebFrame, 481 WebFrame,
480 frame, 482 frame,
481 frame->isWebLocalFrame(), 483 frame->isWebLocalFrame(),
482 frame.isWebLocalFrame()); 484 frame.isWebLocalFrame());
483 485
484 } // namespace blink 486 } // namespace blink
485 487
486 #endif 488 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698