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

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

Issue 10825317: Convert banned calls to use Navigate in ash app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/public/browser/global_request_id.h" 10 #include "content/public/browser/global_request_id.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // If disposition is one of NEW_WINDOW, NEW_POPUP, NEW_FOREGROUND_TAB or 89 // If disposition is one of NEW_WINDOW, NEW_POPUP, NEW_FOREGROUND_TAB or
90 // SINGLETON_TAB, then TabStripModel::ADD_ACTIVE is automatically added to 90 // SINGLETON_TAB, then TabStripModel::ADD_ACTIVE is automatically added to
91 // |tabstrip_add_types|. 91 // |tabstrip_add_types|.
92 WindowOpenDisposition disposition; 92 WindowOpenDisposition disposition;
93 93
94 // The transition type of the navigation. Default is 94 // The transition type of the navigation. Default is
95 // content::PAGE_TRANSITION_LINK when target_contents is specified in the 95 // content::PAGE_TRANSITION_LINK when target_contents is specified in the
96 // constructor. 96 // constructor.
97 content::PageTransition transition; 97 content::PageTransition transition;
98 98
99 // Whether this navigation was initiated by the renderer process. 99 // Whether this navigation was initiated by the renderer process. Default is
100 // false.
100 bool is_renderer_initiated; 101 bool is_renderer_initiated;
101 102
102 // The index the caller would like the tab to be positioned at in the 103 // The index the caller would like the tab to be positioned at in the
103 // TabStrip. The actual index will be determined by the TabHandler in 104 // TabStrip. The actual index will be determined by the TabHandler in
104 // accordance with |add_types|. Defaults to -1 (allows the TabHandler to 105 // accordance with |add_types|. Defaults to -1 (allows the TabHandler to
105 // decide). 106 // decide).
106 int tabstrip_index; 107 int tabstrip_index;
107 108
108 // A bitmask of values defined in TabStripModel::AddTabTypes. Helps 109 // A bitmask of values defined in TabStripModel::AddTabTypes. Helps
109 // determine where to insert a new tab and whether or not it should be 110 // determine where to insert a new tab and whether or not it should be
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 189
189 // Navigates according to the configuration specified in |params|. 190 // Navigates according to the configuration specified in |params|.
190 void Navigate(NavigateParams* params); 191 void Navigate(NavigateParams* params);
191 192
192 // Returns true if the url is allowed to open in incognito window. 193 // Returns true if the url is allowed to open in incognito window.
193 bool IsURLAllowedInIncognito(const GURL& url); 194 bool IsURLAllowedInIncognito(const GURL& url);
194 195
195 } // namespace chrome 196 } // namespace chrome
196 197
197 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 198 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698