OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 const string16& action, | 943 const string16& action, |
944 const string16& type, | 944 const string16& type, |
945 const string16& href, | 945 const string16& href, |
946 const string16& title) OVERRIDE; | 946 const string16& title) OVERRIDE; |
947 virtual void WebIntentDispatch(TabContents* tab, | 947 virtual void WebIntentDispatch(TabContents* tab, |
948 int routing_id, | 948 int routing_id, |
949 const string16& action, | 949 const string16& action, |
950 const string16& type, | 950 const string16& type, |
951 const string16& data, | 951 const string16& data, |
952 int intent_id) OVERRIDE; | 952 int intent_id) OVERRIDE; |
| 953 virtual void UpdatePreferredSize(TabContents* source, |
| 954 const gfx::Size& pref_size) OVERRIDE; |
953 | 955 |
954 // Overridden from TabContentsWrapperDelegate: | 956 // Overridden from TabContentsWrapperDelegate: |
955 virtual void OnDidGetApplicationInfo(TabContentsWrapper* source, | 957 virtual void OnDidGetApplicationInfo(TabContentsWrapper* source, |
956 int32 page_id) OVERRIDE; | 958 int32 page_id) OVERRIDE; |
957 virtual void OnInstallApplication( | 959 virtual void OnInstallApplication( |
958 TabContentsWrapper* source, | 960 TabContentsWrapper* source, |
959 const WebApplicationInfo& app_info) OVERRIDE; | 961 const WebApplicationInfo& app_info) OVERRIDE; |
960 | 962 |
961 // Note that the caller is responsible for deleting |old_tab_contents|. | 963 // Note that the caller is responsible for deleting |old_tab_contents|. |
962 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents, | 964 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents, |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1375 // Tab to notify when the browser exits fullscreen mode. | 1377 // Tab to notify when the browser exits fullscreen mode. |
1376 TabContentsWrapper* fullscreened_tab_; | 1378 TabContentsWrapper* fullscreened_tab_; |
1377 | 1379 |
1378 // True if the current tab is in fullscreen mode. | 1380 // True if the current tab is in fullscreen mode. |
1379 bool tab_caused_fullscreen_; | 1381 bool tab_caused_fullscreen_; |
1380 | 1382 |
1381 DISALLOW_COPY_AND_ASSIGN(Browser); | 1383 DISALLOW_COPY_AND_ASSIGN(Browser); |
1382 }; | 1384 }; |
1383 | 1385 |
1384 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1386 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |