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

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

Issue 8760024: Cross-process postMessage (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_NAVIGATOR_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // Note: If |show_window| is set to false and a new Browser is created by 173 // Note: If |show_window| is set to false and a new Browser is created by
174 // Navigate(), the caller is responsible for showing it so that its 174 // Navigate(), the caller is responsible for showing it so that its
175 // window can assume responsibility for the Browser's lifetime (Browser 175 // window can assume responsibility for the Browser's lifetime (Browser
176 // objects are deleted when the user closes a visible browser window). 176 // objects are deleted when the user closes a visible browser window).
177 Browser* browser; 177 Browser* browser;
178 178
179 // If |browser| == NULL, specifies a Profile to use when finding or 179 // If |browser| == NULL, specifies a Profile to use when finding or
180 // creating a Browser. 180 // creating a Browser.
181 Profile* profile; 181 Profile* profile;
182 182
183 int64 opener_browsing_instance_frame_id;
Charlie Reis 2011/12/01 23:13:02 Maybe put this up near is_renderer_initiated and g
supersat 2011/12/09 23:08:20 Done.
183 private: 184 private:
184 NavigateParams(); 185 NavigateParams();
185 }; 186 };
186 187
187 // Navigates according to the configuration specified in |params|. 188 // Navigates according to the configuration specified in |params|.
188 void Navigate(NavigateParams* params); 189 void Navigate(NavigateParams* params);
189 190
190 // If the given navigational URL is a Singleton, return the tab index for it. 191 // If the given navigational URL is a Singleton, return the tab index for it.
191 // Otherwise, returns -1. 192 // Otherwise, returns -1.
192 int GetIndexOfSingletonTab(NavigateParams* params); 193 int GetIndexOfSingletonTab(NavigateParams* params);
193 194
194 // Returns true if the url is allowed to open in incognito window. 195 // Returns true if the url is allowed to open in incognito window.
195 bool IsURLAllowedInIncognito(const GURL& url); 196 bool IsURLAllowedInIncognito(const GURL& url);
196 197
197 } // namespace browser 198 } // namespace browser
198 199
199 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 200 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698