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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 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 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/gtk_util.h" 5 #include "chrome/browser/ui/gtk/gtk_util.h"
6 6
7 #include <cairo/cairo.h> 7 #include <cairo/cairo.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <cstdarg> 10 #include <cstdarg>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "chrome/browser/chromeos/frame/browser_view.h" 48 #include "chrome/browser/chromeos/frame/browser_view.h"
49 #include "chrome/browser/chromeos/native_dialog_window.h" 49 #include "chrome/browser/chromeos/native_dialog_window.h"
50 #else 50 #else
51 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 51 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
52 #endif 52 #endif
53 53
54 // These conflict with base/tracked_objects.h, so need to come last. 54 // These conflict with base/tracked_objects.h, so need to come last.
55 #include <gdk/gdkx.h> // NOLINT 55 #include <gdk/gdkx.h> // NOLINT
56 #include <gtk/gtk.h> // NOLINT 56 #include <gtk/gtk.h> // NOLINT
57 57
58 using content::RenderWidgetHost;
58 using content::WebContents; 59 using content::WebContents;
59 60
60 namespace { 61 namespace {
61 62
62 #if defined(GOOGLE_CHROME_BUILD) 63 #if defined(GOOGLE_CHROME_BUILD)
63 static const char* kIconName = "google-chrome"; 64 static const char* kIconName = "google-chrome";
64 #else 65 #else
65 static const char* kIconName = "chromium-browser"; 66 static const char* kIconName = "chromium-browser";
66 #endif 67 #endif
67 68
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 1322
1322 void DoCopy(BrowserWindow* window) { 1323 void DoCopy(BrowserWindow* window) {
1323 DoCutCopyPaste(window, &RenderWidgetHost::Copy, "copy-clipboard"); 1324 DoCutCopyPaste(window, &RenderWidgetHost::Copy, "copy-clipboard");
1324 } 1325 }
1325 1326
1326 void DoPaste(BrowserWindow* window) { 1327 void DoPaste(BrowserWindow* window) {
1327 DoCutCopyPaste(window, &RenderWidgetHost::Paste, "paste-clipboard"); 1328 DoCutCopyPaste(window, &RenderWidgetHost::Paste, "paste-clipboard");
1328 } 1329 }
1329 1330
1330 } // namespace gtk_util 1331 } // namespace gtk_util
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/find_bar_gtk.cc ('k') | chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698