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 #ifndef BROWSER_WINODW_H
20 #define BROWSER_WINODW_H
22 #include "browser-config.h"
25 class Browser_Window {
28 ~Browser_Window(void);
30 /* Caution : m_ewk_view can be null even though the Browser_Window is not null.
31 * Because the m_ewk_view is destroyed and assigned to null after Browser_Class::clean_up_windows.
32 * So The null check is necessary at every usage. */
33 Evas_Object *m_ewk_view;
35 Evas_Object *m_ewk_view_layout;
36 Evas_Object *m_portrait_snapshot_image;
37 #if defined(HORIZONTAL_UI)
38 Evas_Object *m_landscape_snapshot_image;
41 /* m_parent is a Browser_Window which invoke itself by javascript etc. */
42 Browser_Window *m_parent;
43 Evas_Object *m_favicon;
44 Evas_Object *m_option_header_favicon;
45 Evas_Object *m_secure_icon;
46 Evas_Object *m_option_header_secure_icon;
47 Eina_Bool m_created_by_user;
48 Eina_Bool m_is_reader;
49 std::string m_reader_html;
50 std::string m_reader_base_url;
54 #endif /* BROWSER_WINODW_H */