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

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

Issue 56020: Reverting 12673. (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/dom_ui/dom_ui_unittest.cc ('k') | chrome/browser/tab_contents/web_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_WEB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 575
576 // Helper functions for sending notifications. 576 // Helper functions for sending notifications.
577 void NotifySwapped(); 577 void NotifySwapped();
578 void NotifyConnected(); 578 void NotifyConnected();
579 void NotifyDisconnected(); 579 void NotifyDisconnected();
580 580
581 // If params has a searchable form, this tries to create a new keyword. 581 // If params has a searchable form, this tries to create a new keyword.
582 void GenerateKeywordIfNecessary( 582 void GenerateKeywordIfNecessary(
583 const ViewHostMsg_FrameNavigate_Params& params); 583 const ViewHostMsg_FrameNavigate_Params& params);
584 584
585 // Returns the DOMUI for the current state of the tab. This will either be
586 // the pending DOMUI, the committed DOMUI, or NULL.
587 DOMUI* GetDOMUIForCurrentState();
588
585 // Data ---------------------------------------------------------------------- 589 // Data ----------------------------------------------------------------------
586 590
587 // The corresponding view. 591 // The corresponding view.
588 scoped_ptr<WebContentsView> view_; 592 scoped_ptr<WebContentsView> view_;
589 593
590 // Manages creation and swapping of render views. 594 // Manages creation and swapping of render views.
591 RenderViewHostManager render_manager_; 595 RenderViewHostManager render_manager_;
592 596
593 // For testing, passed to new RenderViewHost managers. 597 // For testing, passed to new RenderViewHost managers.
594 RenderViewHostFactory* render_view_factory_; 598 RenderViewHostFactory* render_view_factory_;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 698
695 // The last find result. This object contains details about the number of 699 // The last find result. This object contains details about the number of
696 // matches, the find selection rectangle, etc. The UI can access this 700 // matches, the find selection rectangle, etc. The UI can access this
697 // information to build its presentation. 701 // information to build its presentation.
698 FindNotificationDetails find_result_; 702 FindNotificationDetails find_result_;
699 703
700 DISALLOW_COPY_AND_ASSIGN(WebContents); 704 DISALLOW_COPY_AND_ASSIGN(WebContents);
701 }; 705 };
702 706
703 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ 707 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/dom_ui_unittest.cc ('k') | chrome/browser/tab_contents/web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698