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

Unified Diff: third_party/WebKit/Source/platform/PlatformLocalFrame.h

Issue 2868173002: Add PlatformLocalFrame class. (Closed)
Patch Set: this time with new file included Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/PlatformLocalFrame.h
diff --git a/third_party/WebKit/Source/platform/PlatformLocalFrame.h b/third_party/WebKit/Source/platform/PlatformLocalFrame.h
new file mode 100644
index 0000000000000000000000000000000000000000..99ad656e56bb12d0ebfba2502a3281f917c61bf9
--- /dev/null
+++ b/third_party/WebKit/Source/platform/PlatformLocalFrame.h
@@ -0,0 +1,24 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PlatformLocalFrame_h
+#define PlatformLocalFrame_h
+
+#include "platform/PlatformExport.h"
+
+namespace blink {
+
+// PlatformLocalFrame is used in PlatformChromeClient as the platform base class
+// for core/frame/LocalFrame.
+class PLATFORM_EXPORT PlatformLocalFrame {
+ public:
+ PlatformLocalFrame() {}
+ virtual ~PlatformLocalFrame() {}
+
+ virtual bool IsLocalFrame() const { return false; }
+};
+
+} // namespace blink
+
+#endif // PlatformLocalFrame_h
« no previous file with comments | « third_party/WebKit/Source/platform/PlatformChromeClient.h ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698