OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_WEB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_WEB_CONTENTS_H_ |
6 #define CHROME_BROWSER_WEB_CONTENTS_H_ | 6 #define CHROME_BROWSER_WEB_CONTENTS_H_ |
7 | 7 |
8 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
9 #include "chrome/browser/download/save_package.h" | 9 #include "chrome/browser/download/save_package.h" |
10 #include "chrome/browser/fav_icon_helper.h" | 10 #include "chrome/browser/fav_icon_helper.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 virtual void Stop(); | 85 virtual void Stop(); |
86 virtual void StartFinding(int request_id, | 86 virtual void StartFinding(int request_id, |
87 const std::wstring& search_string, | 87 const std::wstring& search_string, |
88 bool forward, | 88 bool forward, |
89 bool match_case, | 89 bool match_case, |
90 bool find_next); | 90 bool find_next); |
91 virtual void StopFinding(bool clear_selection); | 91 virtual void StopFinding(bool clear_selection); |
92 virtual void Cut(); | 92 virtual void Cut(); |
93 virtual void Copy(); | 93 virtual void Copy(); |
94 virtual void Paste(); | 94 virtual void Paste(); |
| 95 virtual void DisassociateFromPopupCount(); |
95 virtual void DidBecomeSelected(); | 96 virtual void DidBecomeSelected(); |
96 virtual void WasHidden(); | 97 virtual void WasHidden(); |
97 virtual void ShowContents(); | 98 virtual void ShowContents(); |
98 virtual void HideContents(); | 99 virtual void HideContents(); |
99 virtual void SizeContents(const gfx::Size& size); | 100 virtual void SizeContents(const gfx::Size& size); |
100 virtual void SetDownloadShelfVisible(bool visible); | 101 virtual void SetDownloadShelfVisible(bool visible); |
101 | 102 |
102 // Retarded pass-throughs to the view. | 103 // Retarded pass-throughs to the view. |
103 // TODO(brettw) fix this, tab contents shouldn't have these methods, probably | 104 // TODO(brettw) fix this, tab contents shouldn't have these methods, probably |
104 // it should be killed altogether. | 105 // it should be killed altogether. |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 typedef base::hash_map<int, RenderWidgetHost*> PendingWidgets; | 567 typedef base::hash_map<int, RenderWidgetHost*> PendingWidgets; |
567 PendingWidgets pending_widgets_; | 568 PendingWidgets pending_widgets_; |
568 | 569 |
569 // Non-null if we're displaying content for a web app. | 570 // Non-null if we're displaying content for a web app. |
570 scoped_refptr<WebApp> web_app_; | 571 scoped_refptr<WebApp> web_app_; |
571 | 572 |
572 DISALLOW_COPY_AND_ASSIGN(WebContents); | 573 DISALLOW_COPY_AND_ASSIGN(WebContents); |
573 }; | 574 }; |
574 | 575 |
575 #endif // CHROME_BROWSER_WEB_CONTENTS_H_ | 576 #endif // CHROME_BROWSER_WEB_CONTENTS_H_ |
OLD | NEW |