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

Side by Side Diff: chrome/common/temp_scaffolding_stubs.h

Issue 28156: Fix focus bug on session restore (take 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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/tab_contents/tab_contents.h ('k') | no next file » | 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) 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_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 5 #ifndef CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
7 7
8 // This file provides declarations and stub definitions for classes we encouter 8 // This file provides declarations and stub definitions for classes we encouter
9 // during the porting effort. It is not meant to be permanent, and classes will 9 // during the porting effort. It is not meant to be permanent, and classes will
10 // be removed from here as they are fleshed out more completely. 10 // be removed from here as they are fleshed out more completely.
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 void set_type(TabContentsType type) { type_ = type; } 413 void set_type(TabContentsType type) { type_ = type; }
414 virtual void Focus() { NOTIMPLEMENTED(); } 414 virtual void Focus() { NOTIMPLEMENTED(); }
415 virtual void Stop() { NOTIMPLEMENTED(); } 415 virtual void Stop() { NOTIMPLEMENTED(); }
416 Profile* profile() const; 416 Profile* profile() const;
417 virtual void CloseContents(); 417 virtual void CloseContents();
418 virtual void SetupController(Profile* profile); 418 virtual void SetupController(Profile* profile);
419 bool WasHidden() { 419 bool WasHidden() {
420 NOTIMPLEMENTED(); 420 NOTIMPLEMENTED();
421 return false; 421 return false;
422 } 422 }
423 virtual void SetInitialFocus() { NOTIMPLEMENTED(); }
423 virtual void RestoreFocus() { NOTIMPLEMENTED(); } 424 virtual void RestoreFocus() { NOTIMPLEMENTED(); }
424 static TabContentsType TypeForURL(GURL* url); 425 static TabContentsType TypeForURL(GURL* url);
425 static TabContents* CreateWithType(TabContentsType type, 426 static TabContents* CreateWithType(TabContentsType type,
426 Profile* profile, 427 Profile* profile,
427 SiteInstance* instance); 428 SiteInstance* instance);
428 virtual void Observe(NotificationType type, 429 virtual void Observe(NotificationType type,
429 const NotificationSource& source, 430 const NotificationSource& source,
430 const NotificationDetails& details) { NOTIMPLEMENTED(); } 431 const NotificationDetails& details) { NOTIMPLEMENTED(); }
431 virtual void DidBecomeSelected() { NOTIMPLEMENTED(); } 432 virtual void DidBecomeSelected() { NOTIMPLEMENTED(); }
432 virtual void SetDownloadShelfVisible(bool) { NOTIMPLEMENTED(); } 433 virtual void SetDownloadShelfVisible(bool) { NOTIMPLEMENTED(); }
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 } 724 }
724 }; 725 };
725 726
726 class OSExchangeData { 727 class OSExchangeData {
727 public: 728 public:
728 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } 729 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); }
729 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } 730 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); }
730 }; 731 };
731 732
732 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 733 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698