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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_edit_view_win.cc

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retrying upload after AppEngine error Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/autocomplete/autocomplete_edit_view_win.h" 5 #include "chrome/browser/autocomplete/autocomplete_edit_view_win.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <locale> 8 #include <locale>
9 #include <string> 9 #include <string>
10 10
11 #include <richedit.h> 11 #include <richedit.h>
(...skipping 23 matching lines...) Expand all
35 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 35 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
36 #include "chrome/browser/autocomplete/keyword_provider.h" 36 #include "chrome/browser/autocomplete/keyword_provider.h"
37 #include "chrome/browser/browser_process.h" 37 #include "chrome/browser/browser_process.h"
38 #include "chrome/browser/command_updater.h" 38 #include "chrome/browser/command_updater.h"
39 #include "chrome/browser/metrics/user_metrics.h" 39 #include "chrome/browser/metrics/user_metrics.h"
40 #include "chrome/browser/net/url_fixer_upper.h" 40 #include "chrome/browser/net/url_fixer_upper.h"
41 #include "chrome/browser/profiles/profile.h" 41 #include "chrome/browser/profiles/profile.h"
42 #include "chrome/browser/search_engines/template_url.h" 42 #include "chrome/browser/search_engines/template_url.h"
43 #include "chrome/browser/search_engines/template_url_model.h" 43 #include "chrome/browser/search_engines/template_url_model.h"
44 #include "chrome/browser/tab_contents/tab_contents.h" 44 #include "chrome/browser/tab_contents/tab_contents.h"
45 #include "chrome/browser/views/location_bar/location_bar_view.h" 45 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
46 #include "chrome/common/notification_service.h" 46 #include "chrome/common/notification_service.h"
47 #include "googleurl/src/url_util.h" 47 #include "googleurl/src/url_util.h"
48 #include "gfx/canvas.h" 48 #include "gfx/canvas.h"
49 #include "gfx/canvas_skia.h" 49 #include "gfx/canvas_skia.h"
50 #include "grit/generated_resources.h" 50 #include "grit/generated_resources.h"
51 #include "net/base/escape.h" 51 #include "net/base/escape.h"
52 #include "skia/ext/skia_utils_win.h" 52 #include "skia/ext/skia_utils_win.h"
53 #include "views/drag_utils.h" 53 #include "views/drag_utils.h"
54 #include "views/focus/focus_util_win.h" 54 #include "views/focus/focus_util_win.h"
55 #include "views/widget/widget.h" 55 #include "views/widget/widget.h"
(...skipping 2532 matching lines...) Expand 10 before | Expand all | Expand 10 after
2588 2588
2589 bool AutocompleteEditViewWin::IsImeComposing() const { 2589 bool AutocompleteEditViewWin::IsImeComposing() const {
2590 bool ime_composing = false; 2590 bool ime_composing = false;
2591 HIMC context = ImmGetContext(m_hWnd); 2591 HIMC context = ImmGetContext(m_hWnd);
2592 if (context) { 2592 if (context) {
2593 ime_composing = !!ImmGetCompositionString(context, GCS_COMPSTR, NULL, 0); 2593 ime_composing = !!ImmGetCompositionString(context, GCS_COMPSTR, NULL, 0);
2594 ImmReleaseContext(m_hWnd, context); 2594 ImmReleaseContext(m_hWnd, context);
2595 } 2595 }
2596 return ime_composing; 2596 return ime_composing;
2597 } 2597 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698