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

Side by Side Diff: chrome/browser/views/blocked_popup_container.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
« no previous file with comments | « chrome/browser/tab_contents_delegate.h ('k') | chrome/browser/views/blocked_popup_container.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) 2008 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_H_
6 #define CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_H_ 6 #define CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual void AddNewContents(TabContents* source, 85 virtual void AddNewContents(TabContents* source,
86 TabContents* new_contents, 86 TabContents* new_contents,
87 WindowOpenDisposition disposition, 87 WindowOpenDisposition disposition,
88 const gfx::Rect& initial_pos, 88 const gfx::Rect& initial_pos,
89 bool user_gesture); 89 bool user_gesture);
90 virtual void ActivateContents(TabContents* contents) { } 90 virtual void ActivateContents(TabContents* contents) { }
91 virtual void LoadingStateChanged(TabContents* source) { } 91 virtual void LoadingStateChanged(TabContents* source) { }
92 virtual void CloseContents(TabContents* source); 92 virtual void CloseContents(TabContents* source);
93 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); 93 virtual void MoveContents(TabContents* source, const gfx::Rect& pos);
94 virtual bool IsPopup(TabContents* source); 94 virtual bool IsPopup(TabContents* source);
95 virtual bool IsEmbedded(TabContents* source);
95 virtual TabContents* GetConstrainingContents(TabContents* source); 96 virtual TabContents* GetConstrainingContents(TabContents* source);
96 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) { } 97 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) { }
97 virtual void URLStarredChanged(TabContents* source, bool starred) { } 98 virtual void URLStarredChanged(TabContents* source, bool starred) { }
98 virtual void UpdateTargetURL(TabContents* source, const GURL& url) { } 99 virtual void UpdateTargetURL(TabContents* source, const GURL& url) { }
99 100
100 // Override from Animation: 101 // Override from Animation:
101 virtual void AnimateToState(double state); 102 virtual void AnimateToState(double state);
102 103
103 protected: 104 protected:
104 // Override from views::ContainerWin: 105 // Override from views::ContainerWin:
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // bounds while animating in or out). 155 // bounds while animating in or out).
155 gfx::Rect bounds_; 156 gfx::Rect bounds_;
156 157
157 // The bottom right corner of where we should appear in our parent window. 158 // The bottom right corner of where we should appear in our parent window.
158 gfx::Point anchor_point_; 159 gfx::Point anchor_point_;
159 160
160 DISALLOW_COPY_AND_ASSIGN(BlockedPopupContainer); 161 DISALLOW_COPY_AND_ASSIGN(BlockedPopupContainer);
161 }; 162 };
162 163
163 #endif 164 #endif
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents_delegate.h ('k') | chrome/browser/views/blocked_popup_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698