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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.cc

Issue 226413006: GTK: Adds #error statements to GTK code to root out unknown bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 5 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
6 6
7 #include <gdk/gdkkeysyms.h> 7 #include <gdk/gdkkeysyms.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <string> 10 #include <string>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 #include "ui/gfx/image/image.h" 106 #include "ui/gfx/image/image.h"
107 #include "ui/gfx/rect.h" 107 #include "ui/gfx/rect.h"
108 #include "ui/gfx/screen.h" 108 #include "ui/gfx/screen.h"
109 #include "ui/gfx/skia_utils_gtk.h" 109 #include "ui/gfx/skia_utils_gtk.h"
110 110
111 using content::NativeWebKeyboardEvent; 111 using content::NativeWebKeyboardEvent;
112 using content::SSLStatus; 112 using content::SSLStatus;
113 using content::WebContents; 113 using content::WebContents;
114 using web_modal::WebContentsModalDialogHost; 114 using web_modal::WebContentsModalDialogHost;
115 115
116 #error "The GTK+ port will be deleted later this week. If you are seeing this, y ou are trying to compile it. Please check your gyp flags for 'use_aura=0' and re move them."
117
116 namespace { 118 namespace {
117 119
118 // The number of milliseconds between loading animation frames. 120 // The number of milliseconds between loading animation frames.
119 const int kLoadingAnimationFrameTimeMs = 30; 121 const int kLoadingAnimationFrameTimeMs = 30;
120 122
121 const char* kBrowserWindowKey = "__BROWSER_WINDOW_GTK__"; 123 const char* kBrowserWindowKey = "__BROWSER_WINDOW_GTK__";
122 124
123 // While resize areas on Windows are normally the same size as the window 125 // While resize areas on Windows are normally the same size as the window
124 // borders, our top area is shrunk by 1 px to make it easier to move the window 126 // borders, our top area is shrunk by 1 px to make it easier to move the window
125 // around with our thinner top grabbable strip. (Incidentally, our side and 127 // around with our thinner top grabbable strip. (Incidentally, our side and
(...skipping 2249 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 BrowserWindowGtk* browser_window_gtk = new BrowserWindowGtk(browser); 2377 BrowserWindowGtk* browser_window_gtk = new BrowserWindowGtk(browser);
2376 browser_window_gtk->Init(); 2378 browser_window_gtk->Init();
2377 return browser_window_gtk; 2379 return browser_window_gtk;
2378 } 2380 }
2379 2381
2380 // static 2382 // static
2381 chrome::HostDesktopType BrowserWindow::AdjustHostDesktopType( 2383 chrome::HostDesktopType BrowserWindow::AdjustHostDesktopType(
2382 chrome::HostDesktopType desktop_type) { 2384 chrome::HostDesktopType desktop_type) {
2383 return desktop_type; 2385 return desktop_type;
2384 } 2386 }
OLDNEW
« no previous file with comments | « base/message_loop/message_pump_gtk.cc ('k') | content/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698