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

Side by Side Diff: chrome/browser/views/html_dialog_view.h

Issue 10973: Test the feasibility of turning Chrome into a multi-process ActiveX control Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 12 years, 1 month 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) 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_VIEWS_HTML_DIALOG_VIEW_H__ 5 #ifndef CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__
6 #define CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__ 6 #define CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/dom_ui/html_dialog_contents.h" 10 #include "chrome/browser/dom_ui/html_dialog_contents.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void AddNewContents(TabContents* source, 66 virtual void AddNewContents(TabContents* source,
67 TabContents* new_contents, 67 TabContents* new_contents,
68 WindowOpenDisposition disposition, 68 WindowOpenDisposition disposition,
69 const gfx::Rect& initial_pos, 69 const gfx::Rect& initial_pos,
70 bool user_gesture); 70 bool user_gesture);
71 virtual void ActivateContents(TabContents* contents); 71 virtual void ActivateContents(TabContents* contents);
72 virtual void LoadingStateChanged(TabContents* source); 72 virtual void LoadingStateChanged(TabContents* source);
73 virtual void CloseContents(TabContents* source); 73 virtual void CloseContents(TabContents* source);
74 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); 74 virtual void MoveContents(TabContents* source, const gfx::Rect& pos);
75 virtual bool IsPopup(TabContents* source); 75 virtual bool IsPopup(TabContents* source);
76 virtual bool IsEmbedded(TabContents* source);
76 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); 77 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating);
77 virtual void URLStarredChanged(TabContents* source, bool starred); 78 virtual void URLStarredChanged(TabContents* source, bool starred);
78 virtual void UpdateTargetURL(TabContents* source, const GURL& url); 79 virtual void UpdateTargetURL(TabContents* source, const GURL& url);
79 80
80 private: 81 private:
81 // The Browser object which created this html dialog; we send all 82 // The Browser object which created this html dialog; we send all
82 // window opening/navigations to this object. 83 // window opening/navigations to this object.
83 Browser* parent_browser_; 84 Browser* parent_browser_;
84 85
85 Profile* profile_; 86 Profile* profile_;
86 87
87 // This view is a delegate to the HTML content since it needs to get notified 88 // This view is a delegate to the HTML content since it needs to get notified
88 // about when the dialog is closing. For all other actions (besides dialog 89 // about when the dialog is closing. For all other actions (besides dialog
89 // closing) we delegate to the creator of this view, which we keep track of 90 // closing) we delegate to the creator of this view, which we keep track of
90 // using this variable. 91 // using this variable.
91 HtmlDialogContentsDelegate* delegate_; 92 HtmlDialogContentsDelegate* delegate_;
92 93
93 DISALLOW_EVIL_CONSTRUCTORS(HtmlDialogView); 94 DISALLOW_EVIL_CONSTRUCTORS(HtmlDialogView);
94 }; 95 };
95 96
96 #endif // CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__ 97 #endif // CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__
97 98
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/embedded_non_client_view.cc ('k') | chrome/browser/views/html_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698