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

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

Issue 1676083002: Extract webkit_unit_tests from blink_web component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win dbg non-oilpan fix: make TextFinder non-copyable Created 4 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
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 20 matching lines...) Expand all
31 #ifndef WebLocalFrameImpl_h 31 #ifndef WebLocalFrameImpl_h
32 #define WebLocalFrameImpl_h 32 #define WebLocalFrameImpl_h
33 33
34 #include "core/editing/VisiblePosition.h" 34 #include "core/editing/VisiblePosition.h"
35 #include "core/frame/LocalFrame.h" 35 #include "core/frame/LocalFrame.h"
36 #include "platform/geometry/FloatRect.h" 36 #include "platform/geometry/FloatRect.h"
37 #include "public/platform/WebFileSystemType.h" 37 #include "public/platform/WebFileSystemType.h"
38 #include "public/web/WebLocalFrame.h" 38 #include "public/web/WebLocalFrame.h"
39 #include "web/FrameLoaderClientImpl.h" 39 #include "web/FrameLoaderClientImpl.h"
40 #include "web/UserMediaClientImpl.h" 40 #include "web/UserMediaClientImpl.h"
41 #include "web/WebExport.h"
41 #include "web/WebFrameImplBase.h" 42 #include "web/WebFrameImplBase.h"
42 #include "wtf/Compiler.h" 43 #include "wtf/Compiler.h"
43 #include "wtf/OwnPtr.h" 44 #include "wtf/OwnPtr.h"
44 #include "wtf/RefCounted.h" 45 #include "wtf/RefCounted.h"
45 #include "wtf/text/WTFString.h" 46 #include "wtf/text/WTFString.h"
46 47
47 namespace blink { 48 namespace blink {
48 49
49 class ChromePrintContext; 50 class ChromePrintContext;
50 class GeolocationClientProxy; 51 class GeolocationClientProxy;
(...skipping 15 matching lines...) Expand all
66 class WebScriptExecutionCallback; 67 class WebScriptExecutionCallback;
67 class WebSuspendableTask; 68 class WebSuspendableTask;
68 class WebView; 69 class WebView;
69 class WebViewImpl; 70 class WebViewImpl;
70 struct FrameLoadRequest; 71 struct FrameLoadRequest;
71 struct WebPrintParams; 72 struct WebPrintParams;
72 73
73 template <typename T> class WebVector; 74 template <typename T> class WebVector;
74 75
75 // Implementation of WebFrame, note that this is a reference counted object. 76 // Implementation of WebFrame, note that this is a reference counted object.
76 class WebLocalFrameImpl final : public WebFrameImplBase, public WebLocalFrame { 77 class WEB_EXPORT WebLocalFrameImpl final : public WebFrameImplBase, WTF_NON_EXPO RTED_BASE(public WebLocalFrame) {
77 public: 78 public:
78 // WebFrame methods: 79 // WebFrame methods:
79 void close() override; 80 void close() override;
80 WebString uniqueName() const override; 81 WebString uniqueName() const override;
81 WebString assignedName() const override; 82 WebString assignedName() const override;
82 void setName(const WebString&) override; 83 void setName(const WebString&) override;
83 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override; 84 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override;
84 void setRemoteWebLayer(WebLayer*) override; 85 void setRemoteWebLayer(WebLayer*) override;
85 void setContentSettingsClient(WebContentSettingsClient*) override; 86 void setContentSettingsClient(WebContentSettingsClient*) override;
86 void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient*) overr ide; 87 void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient*) overr ide;
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 // cleared upon close(). 411 // cleared upon close().
411 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 412 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
412 #endif 413 #endif
413 }; 414 };
414 415
415 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 416 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
416 417
417 } // namespace blink 418 } // namespace blink
418 419
419 #endif 420 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.h ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698