| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); | 383 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); |
| 384 FRIEND_TEST_ALL_PREFIXES(RenderViewHostManagerTest, PageDoesBackAndReload); | 384 FRIEND_TEST_ALL_PREFIXES(RenderViewHostManagerTest, PageDoesBackAndReload); |
| 385 | 385 |
| 386 // Temporary until the view/contents separation is complete. | 386 // Temporary until the view/contents separation is complete. |
| 387 friend class content::WebContentsView; | 387 friend class content::WebContentsView; |
| 388 #if defined(TOOLKIT_VIEWS) | 388 #if defined(TOOLKIT_VIEWS) |
| 389 friend class TabContentsViewViews; | 389 friend class TabContentsViewViews; |
| 390 #elif defined(OS_MACOSX) | 390 #elif defined(OS_MACOSX) |
| 391 friend class WebContentsViewMac; | 391 friend class WebContentsViewMac; |
| 392 #elif defined(TOOLKIT_GTK) | 392 #elif defined(TOOLKIT_GTK) |
| 393 friend class TabContentsViewGtk; | 393 friend class WebContentsViewGtk; |
| 394 #endif | 394 #endif |
| 395 | 395 |
| 396 // So InterstitialPageImpl can access SetIsLoading. | 396 // So InterstitialPageImpl can access SetIsLoading. |
| 397 friend class InterstitialPageImpl; | 397 friend class InterstitialPageImpl; |
| 398 | 398 |
| 399 // TODO(brettw) TestWebContents shouldn't exist! | 399 // TODO(brettw) TestWebContents shouldn't exist! |
| 400 friend class content::TestWebContents; | 400 friend class content::TestWebContents; |
| 401 | 401 |
| 402 // Callback function when showing JS dialogs. | 402 // Callback function when showing JS dialogs. |
| 403 void OnDialogClosed(content::RenderViewHost* rvh, | 403 void OnDialogClosed(content::RenderViewHost* rvh, |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 | 689 |
| 690 // Color chooser that was opened by this tab. | 690 // Color chooser that was opened by this tab. |
| 691 content::ColorChooser* color_chooser_; | 691 content::ColorChooser* color_chooser_; |
| 692 | 692 |
| 693 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 693 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 694 }; | 694 }; |
| 695 | 695 |
| 696 typedef class WebContentsImpl TabContents; | 696 typedef class WebContentsImpl TabContents; |
| 697 | 697 |
| 698 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 698 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |