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

Side by Side Diff: chrome/browser/ui/extensions/native_shell_window.h

Issue 10825240: Refactor ShellWindow to separate platform-specific code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing file 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_WINDOW_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_WINDOW_H_
7
8 #include "chrome/browser/ui/extensions/shell_window.h"
9 #include "chrome/browser/ui/base_window.h"
10
11 class NativeShellWindow : public BaseWindow {
12 public:
tfarina 2012/08/09 16:27:45 missing virtual destructor?
jeremya 2012/08/09 23:59:53 Done.
13 // Used by ShellWindow to instantiate the platform-specific ShellWindow code.
14 static NativeShellWindow* Create(ShellWindow* window,
15 const ShellWindow::CreateParams& params);
16
17 // Called when the title of the window changes.
18 virtual void UpdateWindowTitle() = 0;
19
20 // Called when the draggable regions are changed.
21 virtual void UpdateDraggableRegions(
22 const std::vector<extensions::DraggableRegion>& regions) {}
23
24 virtual void SetFullscreen(bool fullscreen) = 0;
25 virtual bool IsFullscreenOrPending() const = 0;
26 };
27
28 #endif // CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698