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

Side by Side Diff: ui/events/x/text_edit_key_bindings_delegate_x11.cc

Issue 235693002: Merge 260900 "linux_aura: Port GtkKeybindingsHandler to Aura." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/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
« no previous file with comments | « ui/events/x/text_edit_key_bindings_delegate_x11.h ('k') | ui/views/linux_ui/linux_ui.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ui/events/x/text_edit_key_bindings_delegate_x11.h" 5 #include "ui/events/x/text_edit_key_bindings_delegate_x11.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 namespace { 9 namespace {
10 // Optional delegate. Unowned pointer. 10 // Optional delegate. Unowned pointer.
11 TextEditKeyBindingsDelegateX11* text_edit_keybinding_delegate_ = 0; 11 TextEditKeyBindingsDelegateX11* text_edit_keybinding_delegate_ = 0;
12 } 12 }
13 13
14 void SetTextEditKeyBindingsDelegate(TextEditKeyBindingsDelegateX11* delegate) { 14 void SetTextEditKeyBindingsDelegate(TextEditKeyBindingsDelegateX11* delegate) {
15 text_edit_keybinding_delegate_ = delegate; 15 text_edit_keybinding_delegate_ = delegate;
16 } 16 }
17 17
18 TextEditKeyBindingsDelegateX11* GetTextEditKeyBindingsDelegate() { 18 TextEditKeyBindingsDelegateX11* GetTextEditKeyBindingsDelegate() {
19 return text_edit_keybinding_delegate_; 19 return text_edit_keybinding_delegate_;
20 } 20 }
21 21
22 } // namespace ui 22 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/x/text_edit_key_bindings_delegate_x11.h ('k') | ui/views/linux_ui/linux_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698