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

Side by Side Diff: chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/autofill/autofill_popup_view_gtk.h" 5 #include "chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h"
6 6
7 #include <gdk/gdkkeysyms.h> 7 #include <gdk/gdkkeysyms.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/ui/autofill/autofill_popup_controller.h" 11 #include "chrome/browser/ui/autofill/autofill_popup_controller.h"
12 #include "chrome/browser/ui/gtk/gtk_util.h" 12 #include "chrome/browser/ui/gtk/gtk_util.h"
13 #include "grit/ui_resources.h" 13 #include "grit/ui_resources.h"
14 #include "third_party/WebKit/public/web/WebAutofillClient.h" 14 #include "third_party/WebKit/public/web/WebAutofillClient.h"
15 #include "ui/base/gtk/gtk_hig_constants.h" 15 #include "ui/base/gtk/gtk_hig_constants.h"
16 #include "ui/base/gtk/gtk_windowing.h" 16 #include "ui/base/gtk/gtk_windowing.h"
17 #include "ui/base/resource/resource_bundle.h" 17 #include "ui/base/resource/resource_bundle.h"
18 #include "ui/gfx/gtk_compat.h" 18 #include "ui/gfx/gtk_compat.h"
19 #include "ui/gfx/image/image.h" 19 #include "ui/gfx/image/image.h"
20 #include "ui/gfx/native_widget_types.h" 20 #include "ui/gfx/native_widget_types.h"
21 #include "ui/gfx/pango_util.h" 21 #include "ui/gfx/pango_util.h"
22 #include "ui/gfx/rect.h" 22 #include "ui/gfx/rect.h"
23 23
24 using WebKit::WebAutofillClient; 24 using blink::WebAutofillClient;
25 25
26 namespace { 26 namespace {
27 27
28 const GdkColor kBorderColor = GDK_COLOR_RGB(0xc7, 0xca, 0xce); 28 const GdkColor kBorderColor = GDK_COLOR_RGB(0xc7, 0xca, 0xce);
29 const GdkColor kHoveredBackgroundColor = GDK_COLOR_RGB(0xcd, 0xcd, 0xcd); 29 const GdkColor kHoveredBackgroundColor = GDK_COLOR_RGB(0xcd, 0xcd, 0xcd);
30 const GdkColor kNameColor = GDK_COLOR_RGB(0x00, 0x00, 0x00); 30 const GdkColor kNameColor = GDK_COLOR_RGB(0x00, 0x00, 0x00);
31 const GdkColor kWarningColor = GDK_COLOR_RGB(0x7f, 0x7f, 0x7f); 31 const GdkColor kWarningColor = GDK_COLOR_RGB(0x7f, 0x7f, 0x7f);
32 const GdkColor kSubtextColor = GDK_COLOR_RGB(0x7f, 0x7f, 0x7f); 32 const GdkColor kSubtextColor = GDK_COLOR_RGB(0x7f, 0x7f, 0x7f);
33 33
34 } // namespace 34 } // namespace
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 pango_cairo_show_layout(cairo_context, layout_); 286 pango_cairo_show_layout(cairo_context, layout_);
287 cairo_restore(cairo_context); 287 cairo_restore(cairo_context);
288 } 288 }
289 289
290 AutofillPopupView* AutofillPopupView::Create( 290 AutofillPopupView* AutofillPopupView::Create(
291 AutofillPopupController* controller) { 291 AutofillPopupController* controller) {
292 return new AutofillPopupViewGtk(controller); 292 return new AutofillPopupViewGtk(controller);
293 } 293 }
294 294
295 } // namespace autofill 295 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/ui/find_bar/find_tab_helper.cc ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698