81da74cc156717b8001361818871dbb60b852b71
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / public / ewk_frame.cc
1 // Copyright 2012 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ewk_frame.h"
6
7 #include "private/ewk_frame_private.h"
8 #include "private/ewk_private.h"
9
10 Eina_Bool ewk_frame_can_show_mime_type(Ewk_Frame_Ref frame, char* mimeType)
11 {
12   LOG_EWK_API_MOCKUP();
13   return false;
14 }
15
16 Eina_Bool ewk_frame_is_main_frame(Ewk_Frame_Ref frame)
17 {
18   EINA_SAFETY_ON_NULL_RETURN_VAL(frame, EINA_FALSE);
19   return frame->IsMainFrame() ? EINA_TRUE : EINA_FALSE;
20 }