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

Unified Diff: chrome/browser/ui/gtk/apps/native_app_window_gtk.cc

Issue 27029006: apps: Move chrome's ShellWindowFrameView into apps/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove NativeAppWindowViews dependency Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/apps/native_app_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/apps/native_app_window_gtk.cc b/chrome/browser/ui/gtk/apps/native_app_window_gtk.cc
index 9560d66c32c6a4f35ba4736a9057e03fe4ecfacd..976af73884045a93b234fd024c45b5783923649f 100644
--- a/chrome/browser/ui/gtk/apps/native_app_window_gtk.cc
+++ b/chrome/browser/ui/gtk/apps/native_app_window_gtk.cc
@@ -604,6 +604,8 @@ gboolean NativeAppWindowGtk::OnButtonPress(GtkWidget* widget,
return FALSE;
}
+// NativeAppWindow implementation:
+
void NativeAppWindowGtk::SetFullscreen(bool fullscreen) {
content_thinks_its_fullscreen_ = fullscreen;
if (fullscreen){
@@ -665,3 +667,11 @@ void NativeAppWindowGtk::UpdateDraggableRegions(
draggable_region_.reset(ShellWindow::RawDraggableRegionsToSkRegion(regions));
}
+
+SkRegion* NativeAppWindowGtk::GetDraggableRegion() const {
+ return draggable_region_.get();
+}
+
+bool NativeAppWindowGtk::IsFrameless() const {
+ return frameless_;
+}

Powered by Google App Engine
This is Rietveld 408576698