| 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_TAB_CONTENTS_H_ |    5 #ifndef CHROME_BROWSER_TAB_CONTENTS_H_ | 
|    6 #define CHROME_BROWSER_TAB_CONTENTS_H_ |    6 #define CHROME_BROWSER_TAB_CONTENTS_H_ | 
|    7  |    7  | 
|    8 #include <string> |    8 #include <string> | 
|    9 #include <vector> |    9 #include <vector> | 
|   10  |   10  | 
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  304   // needs to be completely removed after we ship it. Right now, the |  304   // needs to be completely removed after we ship it. Right now, the | 
|  305   // cut/copy/paste menu items are always enabled and will send a |  305   // cut/copy/paste menu items are always enabled and will send a | 
|  306   // cut/copy/paste command to the currently visible |  306   // cut/copy/paste command to the currently visible | 
|  307   // TabContents. Post-beta, this needs to be replaced with a unified |  307   // TabContents. Post-beta, this needs to be replaced with a unified | 
|  308   // interface for supporting cut/copy/paste, and managing who has |  308   // interface for supporting cut/copy/paste, and managing who has | 
|  309   // cut/copy/paste focus. (http://b/1117225) |  309   // cut/copy/paste focus. (http://b/1117225) | 
|  310   virtual void Cut() { } |  310   virtual void Cut() { } | 
|  311   virtual void Copy() { } |  311   virtual void Copy() { } | 
|  312   virtual void Paste() { } |  312   virtual void Paste() { } | 
|  313  |  313  | 
 |  314   // Called on a TabContents when it isn't a popup, but a new window. | 
 |  315   virtual void DisassociateFromPopupCount() { } | 
 |  316  | 
|  314   // Window management --------------------------------------------------------- |  317   // Window management --------------------------------------------------------- | 
|  315  |  318  | 
|  316   // Create a new window constrained to this TabContents' clip and visibility. |  319   // Create a new window constrained to this TabContents' clip and visibility. | 
|  317   // The window is initialized by using the supplied delegate to obtain basic |  320   // The window is initialized by using the supplied delegate to obtain basic | 
|  318   // window characteristics, and the supplied view for the content. The window |  321   // window characteristics, and the supplied view for the content. The window | 
|  319   // is sized according to the preferred size of the content_view, and centered |  322   // is sized according to the preferred size of the content_view, and centered | 
|  320   // within the contents. |  323   // within the contents. | 
|  321   ConstrainedWindow* CreateConstrainedDialog( |  324   ConstrainedWindow* CreateConstrainedDialog( | 
|  322       ChromeViews::WindowDelegate* window_delegate, |  325       ChromeViews::WindowDelegate* window_delegate, | 
|  323       ChromeViews::View* contents_view); |  326       ChromeViews::View* contents_view); | 
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  537  |  540  | 
|  538   std::wstring encoding_name_; |  541   std::wstring encoding_name_; | 
|  539  |  542  | 
|  540   // See capturing_contents() above. |  543   // See capturing_contents() above. | 
|  541   bool capturing_contents_; |  544   bool capturing_contents_; | 
|  542  |  545  | 
|  543   DISALLOW_COPY_AND_ASSIGN(TabContents); |  546   DISALLOW_COPY_AND_ASSIGN(TabContents); | 
|  544 }; |  547 }; | 
|  545  |  548  | 
|  546 #endif  // CHROME_BROWSER_TAB_CONTENTS_H_ |  549 #endif  // CHROME_BROWSER_TAB_CONTENTS_H_ | 
| OLD | NEW |