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

Side by Side Diff: views/view.cc

Issue 8491035: Revert 109583 - Move views/ime/text_input_client.h to ui/base/ime/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « views/view.h ('k') | views/views.gyp » ('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 (c) 2011 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 "views/view.h" 5 #include "views/view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 } 786 }
787 787
788 bool View::OnKeyReleased(const KeyEvent& event) { 788 bool View::OnKeyReleased(const KeyEvent& event) {
789 return false; 789 return false;
790 } 790 }
791 791
792 bool View::OnMouseWheel(const MouseWheelEvent& event) { 792 bool View::OnMouseWheel(const MouseWheelEvent& event) {
793 return false; 793 return false;
794 } 794 }
795 795
796 ui::TextInputClient* View::GetTextInputClient() { 796 TextInputClient* View::GetTextInputClient() {
797 return NULL; 797 return NULL;
798 } 798 }
799 799
800 InputMethod* View::GetInputMethod() { 800 InputMethod* View::GetInputMethod() {
801 Widget* widget = GetWidget(); 801 Widget* widget = GetWidget();
802 return widget ? widget->GetInputMethod() : NULL; 802 return widget ? widget->GetInputMethod() : NULL;
803 } 803 }
804 804
805 // Accelerators ---------------------------------------------------------------- 805 // Accelerators ----------------------------------------------------------------
806 806
(...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
2067 2067
2068 OSExchangeData data; 2068 OSExchangeData data;
2069 WriteDragData(press_pt, &data); 2069 WriteDragData(press_pt, &data);
2070 2070
2071 // Message the RootView to do the drag and drop. That way if we're removed 2071 // Message the RootView to do the drag and drop. That way if we're removed
2072 // the RootView can detect it and avoid calling us back. 2072 // the RootView can detect it and avoid calling us back.
2073 GetWidget()->RunShellDrag(this, data, drag_operations); 2073 GetWidget()->RunShellDrag(this, data, drag_operations);
2074 } 2074 }
2075 2075
2076 } // namespace views 2076 } // namespace views
OLDNEW
« no previous file with comments | « views/view.h ('k') | views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698