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

Side by Side Diff: views/view.h

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/ime/text_input_client.h ('k') | views/view.cc » ('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 #ifndef VIEWS_VIEW_H_ 5 #ifndef VIEWS_VIEW_H_
6 #define VIEWS_VIEW_H_ 6 #define VIEWS_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <map> 10 #include <map>
(...skipping 24 matching lines...) Expand all
35 class Canvas; 35 class Canvas;
36 class Insets; 36 class Insets;
37 class Path; 37 class Path;
38 } 38 }
39 39
40 namespace ui { 40 namespace ui {
41 struct AccessibleViewState; 41 struct AccessibleViewState;
42 class Compositor; 42 class Compositor;
43 class Layer; 43 class Layer;
44 class LayerAnimationSequence; 44 class LayerAnimationSequence;
45 class TextInputClient;
46 class Texture; 45 class Texture;
47 class ThemeProvider; 46 class ThemeProvider;
48 class Transform; 47 class Transform;
49 enum TouchStatus; 48 enum TouchStatus;
50 } 49 }
51 50
52 #if defined(OS_WIN) 51 #if defined(OS_WIN)
53 class __declspec(uuid("26f5641a-246d-457b-a96d-07f3fae6acf2")) 52 class __declspec(uuid("26f5641a-246d-457b-a96d-07f3fae6acf2"))
54 NativeViewAccessibilityWin; 53 NativeViewAccessibilityWin;
55 #endif 54 #endif
56 55
57 namespace views { 56 namespace views {
58 57
59 class Background; 58 class Background;
60 class Border; 59 class Border;
61 class ContextMenuController; 60 class ContextMenuController;
62 class DragController; 61 class DragController;
63 class FocusManager; 62 class FocusManager;
64 class FocusTraversable; 63 class FocusTraversable;
65 class InputMethod; 64 class InputMethod;
66 class LayoutManager; 65 class LayoutManager;
67 class ScrollView; 66 class ScrollView;
67 class TextInputClient;
68 class Widget; 68 class Widget;
69 69
70 namespace internal { 70 namespace internal {
71 class NativeWidgetView; 71 class NativeWidgetView;
72 class RootView; 72 class RootView;
73 } 73 }
74 74
75 ///////////////////////////////////////////////////////////////////////////// 75 /////////////////////////////////////////////////////////////////////////////
76 // 76 //
77 // View class 77 // View class
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 virtual bool OnKeyReleased(const KeyEvent& event); 616 virtual bool OnKeyReleased(const KeyEvent& event);
617 617
618 // Invoked when the user uses the mousewheel. Implementors should return true 618 // Invoked when the user uses the mousewheel. Implementors should return true
619 // if the event has been processed and false otherwise. This message is sent 619 // if the event has been processed and false otherwise. This message is sent
620 // if the view is focused. If the event has not been processed, the parent 620 // if the view is focused. If the event has not been processed, the parent
621 // will be given a chance. 621 // will be given a chance.
622 virtual bool OnMouseWheel(const MouseWheelEvent& event); 622 virtual bool OnMouseWheel(const MouseWheelEvent& event);
623 623
624 // Returns the View's TextInputClient instance or NULL if the View doesn't 624 // Returns the View's TextInputClient instance or NULL if the View doesn't
625 // support text input. 625 // support text input.
626 virtual ui::TextInputClient* GetTextInputClient(); 626 virtual TextInputClient* GetTextInputClient();
627 627
628 // Convenience method to retrieve the InputMethod associated with the 628 // Convenience method to retrieve the InputMethod associated with the
629 // Widget that contains this view. Returns NULL if this view is not part of a 629 // Widget that contains this view. Returns NULL if this view is not part of a
630 // view hierarchy with a Widget. 630 // view hierarchy with a Widget.
631 virtual InputMethod* GetInputMethod(); 631 virtual InputMethod* GetInputMethod();
632 632
633 // Accelerators -------------------------------------------------------------- 633 // Accelerators --------------------------------------------------------------
634 634
635 // Sets a keyboard accelerator for that view. When the user presses the 635 // Sets a keyboard accelerator for that view. When the user presses the
636 // accelerator key combination, the AcceleratorPressed method is invoked. 636 // accelerator key combination, the AcceleratorPressed method is invoked.
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 base::win::ScopedComPtr<NativeViewAccessibilityWin> 1444 base::win::ScopedComPtr<NativeViewAccessibilityWin>
1445 native_view_accessibility_win_; 1445 native_view_accessibility_win_;
1446 #endif 1446 #endif
1447 1447
1448 DISALLOW_COPY_AND_ASSIGN(View); 1448 DISALLOW_COPY_AND_ASSIGN(View);
1449 }; 1449 };
1450 1450
1451 } // namespace views 1451 } // namespace views
1452 1452
1453 #endif // VIEWS_VIEW_H_ 1453 #endif // VIEWS_VIEW_H_
OLDNEW
« no previous file with comments | « views/ime/text_input_client.h ('k') | views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698