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

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

Issue 132047: GTK: HTTP Auth dialogs under linux. (Closed)
Patch Set: Fix for evanm Created 11 years, 6 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 316
317 // Creates a new TabContents with the same state as this one. The returned 317 // Creates a new TabContents with the same state as this one. The returned
318 // heap-allocated pointer is owned by the caller. 318 // heap-allocated pointer is owned by the caller.
319 virtual TabContents* Clone(); 319 virtual TabContents* Clone();
320 320
321 // Tell Gears to create a shortcut for the current page. 321 // Tell Gears to create a shortcut for the current page.
322 void CreateShortcut(); 322 void CreateShortcut();
323 323
324 // Window management --------------------------------------------------------- 324 // Window management ---------------------------------------------------------
325 325
326 #if defined(OS_WIN) 326 #if defined(OS_WIN) || defined(OS_LINUX)
327 // Create a new window constrained to this TabContents' clip and visibility. 327 // Create a new window constrained to this TabContents' clip and visibility.
328 // The window is initialized by using the supplied delegate to obtain basic 328 // The window is initialized by using the supplied delegate to obtain basic
329 // window characteristics, and the supplied view for the content. The window 329 // window characteristics, and the supplied view for the content. The window
330 // is sized according to the preferred size of the content_view, and centered 330 // is sized according to the preferred size of the content_view, and centered
331 // within the contents. 331 // within the contents.
332 ConstrainedWindow* CreateConstrainedDialog( 332 ConstrainedWindow* CreateConstrainedDialog(
333 views::WindowDelegate* window_delegate); 333 ConstrainedWindowDelegate* delegate);
334 #endif 334 #endif
335 335
336 // Adds a new tab or window with the given already-created contents 336 // Adds a new tab or window with the given already-created contents
337 void AddNewContents(TabContents* new_contents, 337 void AddNewContents(TabContents* new_contents,
338 WindowOpenDisposition disposition, 338 WindowOpenDisposition disposition,
339 const gfx::Rect& initial_pos, 339 const gfx::Rect& initial_pos,
340 bool user_gesture, 340 bool user_gesture,
341 const GURL& creator_url); 341 const GURL& creator_url);
342 342
343 // Closes all constrained windows that represent web popups that have not yet 343 // Closes all constrained windows that represent web popups that have not yet
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 // True if the user has decided to block future javascript messages. This is 1069 // True if the user has decided to block future javascript messages. This is
1070 // reset on navigations to false on navigations. 1070 // reset on navigations to false on navigations.
1071 bool suppress_javascript_messages_; 1071 bool suppress_javascript_messages_;
1072 1072
1073 // --------------------------------------------------------------------------- 1073 // ---------------------------------------------------------------------------
1074 1074
1075 DISALLOW_COPY_AND_ASSIGN(TabContents); 1075 DISALLOW_COPY_AND_ASSIGN(TabContents);
1076 }; 1076 };
1077 1077
1078 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1078 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698