Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: chrome/browser/tab_contents.h

Issue 7388: Remove throttling code from the Browser process and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/render_view_host.cc ('k') | chrome/browser/tab_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/render_view_host.cc ('k') | chrome/browser/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698