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.
17 #ifndef BROWSER_WINODW_H
18 #define BROWSER_WINODW_H
20 #include "browser-config.h"
23 class Browser_Window {
26 ~Browser_Window(void);
28 /* Caution : m_ewk_view can be null even though the Browser_Window is not null.
29 * Because the m_ewk_view is destroyed and assigned to null after Browser_Class::clean_up_windows.
30 * So The null check is necessary at every usage. */
31 Evas_Object *m_ewk_view;
33 Evas_Object *m_portrait_snapshot_image;
34 Evas_Object *m_landscape_snapshot_image;
36 /* m_parent is a Browser_Window which invoke itself by javascript etc. */
37 Browser_Window *m_parent;
38 Evas_Object *m_favicon;
39 Evas_Object *m_option_header_favicon;
40 Eina_Bool m_created_by_user;
41 /* The url & title are only valid when the window is deleted
42 * because of unused case. (etc. low memory) */
46 #endif /* BROWSER_WINODW_H */