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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_edit_view_mac.mm

Issue 260003: Move the clipboard stuff out of base and into app/clipboard. I renamed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_mac.h" 5 #include "chrome/browser/autocomplete/autocomplete_edit_view_mac.h"
6 6
7 #include <Carbon/Carbon.h> // kVK_Return 7 #include <Carbon/Carbon.h> // kVK_Return
8
9 #include "app/clipboard/clipboard.h"
8 #include "app/gfx/font.h" 10 #include "app/gfx/font.h"
9 #include "app/l10n_util_mac.h" 11 #include "app/l10n_util_mac.h"
10 #include "app/resource_bundle.h" 12 #include "app/resource_bundle.h"
11 #include "base/clipboard.h"
12 #import "base/cocoa_protocols_mac.h" 13 #import "base/cocoa_protocols_mac.h"
13 #include "base/string_util.h" 14 #include "base/string_util.h"
14 #include "base/sys_string_conversions.h" 15 #include "base/sys_string_conversions.h"
15 #include "chrome/browser/autocomplete/autocomplete_edit.h" 16 #include "chrome/browser/autocomplete/autocomplete_edit.h"
16 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 17 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
17 #include "chrome/browser/autocomplete/autocomplete_popup_view_mac.h" 18 #include "chrome/browser/autocomplete/autocomplete_popup_view_mac.h"
18 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/cocoa/event_utils.h" 20 #include "chrome/browser/cocoa/event_utils.h"
20 #include "chrome/browser/tab_contents/tab_contents.h" 21 #include "chrome/browser/tab_contents/tab_contents.h"
21 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 // TODO(shess): Figure out where the selection belongs. On GTK, 870 // TODO(shess): Figure out where the selection belongs. On GTK,
870 // it's set to the start of the text. 871 // it's set to the start of the text.
871 } 872 }
872 873
873 // Signal that we've lost focus when the window resigns key. 874 // Signal that we've lost focus when the window resigns key.
874 - (void)windowDidResignKey:(NSNotification*)notification { 875 - (void)windowDidResignKey:(NSNotification*)notification {
875 edit_view_->OnDidResignKey(); 876 edit_view_->OnDidResignKey();
876 } 877 }
877 878
878 @end 879 @end
OLDNEW
« no previous file with comments | « base/scoped_clipboard_writer.cc ('k') | chrome/browser/autocomplete/autocomplete_edit_view_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698