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

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: fix typo 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..929fafd3e6086d94a0588558c2f3c2fce0f08434 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() {
+ return draggable_region_.get();
+}
+
+bool NativeAppWindowGtk::IsFrameless() const {
+ return frameless_;
+}
« no previous file with comments | « chrome/browser/ui/gtk/apps/native_app_window_gtk.h ('k') | chrome/browser/ui/views/apps/native_app_window_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698