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

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

Issue 6386009: Remove app/win/win_util.h,cc etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with NSApp changes in r73581 Created 9 years, 10 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) 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_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector>
10
11 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
12 #include "chrome/common/content_settings_types.h" 10 #include "chrome/common/content_settings_types.h"
13 #include "gfx/native_widget_types.h" 11 #include "gfx/native_widget_types.h"
14 12
15 class Browser; 13 class Browser;
16 class BrowserWindowTesting; 14 class BrowserWindowTesting;
17 class DownloadShelf; 15 class DownloadShelf;
18 class FindBar; 16 class FindBar;
19 class GURL; 17 class GURL;
20 class HtmlDialogUIDelegate; 18 class HtmlDialogUIDelegate;
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 // Shows the keyboard overlay dialog box. 335 // Shows the keyboard overlay dialog box.
338 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0; 336 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0;
339 #endif 337 #endif
340 338
341 // Construct a BrowserWindow implementation for the specified |browser|. 339 // Construct a BrowserWindow implementation for the specified |browser|.
342 static BrowserWindow* CreateBrowserWindow(Browser* browser); 340 static BrowserWindow* CreateBrowserWindow(Browser* browser);
343 341
344 // Construct a FindBar implementation for the specified |browser|. 342 // Construct a FindBar implementation for the specified |browser|.
345 static FindBar* CreateFindBar(Browser* browser_window); 343 static FindBar* CreateFindBar(Browser* browser_window);
346 344
347 // Grabs a snapshot of the current browser window and returns the bounds.
348 virtual gfx::Rect GrabWindowSnapshot(std::vector<unsigned char>*
349 png_representation) = 0;
350
351 protected: 345 protected:
352 friend class BrowserList; 346 friend class BrowserList;
353 friend class BrowserView; 347 friend class BrowserView;
354 virtual void DestroyBrowser() = 0; 348 virtual void DestroyBrowser() = 0;
355 349
356 virtual ~BrowserWindow() {} 350 virtual ~BrowserWindow() {}
357 }; 351 };
358 352
359 #if defined(OS_WIN) || defined(TOOLKIT_VIEWS) 353 #if defined(OS_WIN) || defined(TOOLKIT_VIEWS)
360 class BookmarkBarView; 354 class BookmarkBarView;
(...skipping 23 matching lines...) Expand all
384 378
385 // Returns the ToolbarView. 379 // Returns the ToolbarView.
386 virtual ToolbarView* GetToolbarView() const = 0; 380 virtual ToolbarView* GetToolbarView() const = 0;
387 #endif 381 #endif
388 382
389 protected: 383 protected:
390 virtual ~BrowserWindowTesting() {} 384 virtual ~BrowserWindowTesting() {}
391 }; 385 };
392 386
393 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 387 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/thumbnail_generator.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698