2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include "browser-window.h"
21 Browser_Window::Browser_Window(void)
24 ,m_portrait_snapshot_image(NULL)
25 #if defined(HORIZONTAL_UI)
26 ,m_landscape_snapshot_image(NULL)
28 ,m_ewk_view_layout(NULL)
31 ,m_option_header_favicon(NULL)
33 ,m_option_header_secure_icon(NULL)
34 ,m_created_by_user(EINA_FALSE)
35 ,m_is_reader(EINA_FALSE)
37 BROWSER_LOGD("[%s]", __func__);
40 Browser_Window::~Browser_Window(void)
42 BROWSER_LOGD("[%s]", __func__);
44 evas_object_del(m_ewk_view);
45 if (m_portrait_snapshot_image)
46 evas_object_del(m_portrait_snapshot_image);
47 #if defined(HORIZONTAL_UI)
48 if (m_landscape_snapshot_image)
49 evas_object_del(m_landscape_snapshot_image);
51 if (m_ewk_view_layout)
52 evas_object_del(m_ewk_view_layout);
54 evas_object_del(m_favicon);
55 if (m_option_header_favicon)
56 evas_object_del(m_option_header_favicon);