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

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

Issue 14985014: Introduce content::PageState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to the top of page_state.h Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 struct SearchMode; 64 struct SearchMode;
65 struct WebApplicationInfo; 65 struct WebApplicationInfo;
66 66
67 namespace chrome { 67 namespace chrome {
68 class BrowserCommandController; 68 class BrowserCommandController;
69 class UnloadController; 69 class UnloadController;
70 } 70 }
71 71
72 namespace content { 72 namespace content {
73 class NavigationController; 73 class NavigationController;
74 class PageState;
74 class SessionStorageNamespace; 75 class SessionStorageNamespace;
75 } 76 }
76 77
77 namespace extensions { 78 namespace extensions {
78 class Extension; 79 class Extension;
79 class WindowController; 80 class WindowController;
80 } 81 }
81 82
82 namespace gfx { 83 namespace gfx {
83 class Image; 84 class Image;
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 virtual bool ShouldFocusLocationBarByDefault( 548 virtual bool ShouldFocusLocationBarByDefault(
548 content::WebContents* source) OVERRIDE; 549 content::WebContents* source) OVERRIDE;
549 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; 550 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE;
550 virtual void RenderWidgetShowing() OVERRIDE; 551 virtual void RenderWidgetShowing() OVERRIDE;
551 virtual int GetExtraRenderViewHeight() const OVERRIDE; 552 virtual int GetExtraRenderViewHeight() const OVERRIDE;
552 virtual void ViewSourceForTab(content::WebContents* source, 553 virtual void ViewSourceForTab(content::WebContents* source,
553 const GURL& page_url) OVERRIDE; 554 const GURL& page_url) OVERRIDE;
554 virtual void ViewSourceForFrame( 555 virtual void ViewSourceForFrame(
555 content::WebContents* source, 556 content::WebContents* source,
556 const GURL& frame_url, 557 const GURL& frame_url,
557 const std::string& frame_content_state) OVERRIDE; 558 const content::PageState& frame_page_state) OVERRIDE;
558 virtual void ShowRepostFormWarningDialog( 559 virtual void ShowRepostFormWarningDialog(
559 content::WebContents* source) OVERRIDE; 560 content::WebContents* source) OVERRIDE;
560 virtual bool ShouldCreateWebContents( 561 virtual bool ShouldCreateWebContents(
561 content::WebContents* web_contents, 562 content::WebContents* web_contents,
562 int route_id, 563 int route_id,
563 WindowContainerType window_container_type, 564 WindowContainerType window_container_type,
564 const string16& frame_name, 565 const string16& frame_name,
565 const GURL& target_url) OVERRIDE; 566 const GURL& target_url) OVERRIDE;
566 virtual void WebContentsCreated(content::WebContents* source_contents, 567 virtual void WebContentsCreated(content::WebContents* source_contents,
567 int64 source_frame_id, 568 int64 source_frame_id,
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 909
909 scoped_ptr<chrome::BrowserCommandController> command_controller_; 910 scoped_ptr<chrome::BrowserCommandController> command_controller_;
910 911
911 // True if the browser window has been shown at least once. 912 // True if the browser window has been shown at least once.
912 bool window_has_shown_; 913 bool window_has_shown_;
913 914
914 DISALLOW_COPY_AND_ASSIGN(Browser); 915 DISALLOW_COPY_AND_ASSIGN(Browser);
915 }; 916 };
916 917
917 #endif // CHROME_BROWSER_UI_BROWSER_H_ 918 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698