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

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

Issue 197035: [mac] Let cmd-e write the selection into the find pasteboard. (Closed)
Patch Set: Add comment, merge with ToT Created 11 years, 3 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 // TODO(erg): HACK ALERT! This was thrown together for beta and 311 // TODO(erg): HACK ALERT! This was thrown together for beta and
312 // needs to be completely removed after we ship it. Right now, the 312 // needs to be completely removed after we ship it. Right now, the
313 // cut/copy/paste menu items are always enabled and will send a 313 // cut/copy/paste menu items are always enabled and will send a
314 // cut/copy/paste command to the currently visible 314 // cut/copy/paste command to the currently visible
315 // TabContents. Post-beta, this needs to be replaced with a unified 315 // TabContents. Post-beta, this needs to be replaced with a unified
316 // interface for supporting cut/copy/paste, and managing who has 316 // interface for supporting cut/copy/paste, and managing who has
317 // cut/copy/paste focus. (http://b/1117225) 317 // cut/copy/paste focus. (http://b/1117225)
318 virtual void Cut(); 318 virtual void Cut();
319 virtual void Copy(); 319 virtual void Copy();
320 virtual void CopyToFindPboard();
320 virtual void Paste(); 321 virtual void Paste();
321 322
322 // Called on a TabContents when it isn't a popup, but a new window. 323 // Called on a TabContents when it isn't a popup, but a new window.
323 virtual void DisassociateFromPopupCount(); 324 virtual void DisassociateFromPopupCount();
324 325
325 // Creates a new TabContents with the same state as this one. The returned 326 // Creates a new TabContents with the same state as this one. The returned
326 // heap-allocated pointer is owned by the caller. 327 // heap-allocated pointer is owned by the caller.
327 virtual TabContents* Clone(); 328 virtual TabContents* Clone();
328 329
329 // Tell Gears to create a shortcut for the current page. 330 // Tell Gears to create a shortcut for the current page.
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
1120 // If this tab was created from a renderer using window.open, this will be 1121 // If this tab was created from a renderer using window.open, this will be
1121 // non-NULL and represent the DOMUI of the opening renderer. 1122 // non-NULL and represent the DOMUI of the opening renderer.
1122 DOMUITypeID opener_dom_ui_type_; 1123 DOMUITypeID opener_dom_ui_type_;
1123 1124
1124 // --------------------------------------------------------------------------- 1125 // ---------------------------------------------------------------------------
1125 1126
1126 DISALLOW_COPY_AND_ASSIGN(TabContents); 1127 DISALLOW_COPY_AND_ASSIGN(TabContents);
1127 }; 1128 };
1128 1129
1129 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1130 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter_mac.mm ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698