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

Side by Side Diff: ui/aura/remote_window_tree_host_win.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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
« no previous file with comments | « ui/aura/input_state_lookup_win.h ('k') | ui/aura/scoped_window_targeter.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
6 #define UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void OnImeCandidatePopupChanged(bool visible); 109 void OnImeCandidatePopupChanged(bool visible);
110 void OnImeCompositionChanged( 110 void OnImeCompositionChanged(
111 const base::string16& text, 111 const base::string16& text,
112 int32 selection_start, 112 int32 selection_start,
113 int32 selection_end, 113 int32 selection_end,
114 const std::vector<metro_viewer::UnderlineInfo>& underlines); 114 const std::vector<metro_viewer::UnderlineInfo>& underlines);
115 void OnImeTextCommitted(const base::string16& text); 115 void OnImeTextCommitted(const base::string16& text);
116 void OnImeInputSourceChanged(uint16 language_id, bool is_ime); 116 void OnImeInputSourceChanged(uint16 language_id, bool is_ime);
117 117
118 // WindowTreeHost overrides: 118 // WindowTreeHost overrides:
119 virtual ui::EventSource* GetEventSource() OVERRIDE; 119 virtual ui::EventSource* GetEventSource() override;
120 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 120 virtual gfx::AcceleratedWidget GetAcceleratedWidget() override;
121 virtual void Show() OVERRIDE; 121 virtual void Show() override;
122 virtual void Hide() OVERRIDE; 122 virtual void Hide() override;
123 virtual gfx::Rect GetBounds() const OVERRIDE; 123 virtual gfx::Rect GetBounds() const override;
124 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 124 virtual void SetBounds(const gfx::Rect& bounds) override;
125 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 125 virtual gfx::Point GetLocationOnNativeScreen() const override;
126 virtual void SetCapture() OVERRIDE; 126 virtual void SetCapture() override;
127 virtual void ReleaseCapture() OVERRIDE; 127 virtual void ReleaseCapture() override;
128 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 128 virtual void PostNativeEvent(const base::NativeEvent& native_event) override;
129 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; 129 virtual void SetCursorNative(gfx::NativeCursor cursor) override;
130 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; 130 virtual void MoveCursorToNative(const gfx::Point& location) override;
131 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; 131 virtual void OnCursorVisibilityChangedNative(bool show) override;
132 132
133 // ui::EventSource: 133 // ui::EventSource:
134 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 134 virtual ui::EventProcessor* GetEventProcessor() override;
135 135
136 // ui::internal::RemoteInputMethodDelegateWin overrides: 136 // ui::internal::RemoteInputMethodDelegateWin overrides:
137 virtual void CancelComposition() OVERRIDE; 137 virtual void CancelComposition() override;
138 virtual void OnTextInputClientUpdated( 138 virtual void OnTextInputClientUpdated(
139 const std::vector<int32>& input_scopes, 139 const std::vector<int32>& input_scopes,
140 const std::vector<gfx::Rect>& composition_character_bounds) OVERRIDE; 140 const std::vector<gfx::Rect>& composition_character_bounds) override;
141 141
142 // Helper function to dispatch a keyboard message to the desired target. 142 // Helper function to dispatch a keyboard message to the desired target.
143 // The default target is the WindowEventDispatcher. For nested message loop 143 // The default target is the WindowEventDispatcher. For nested message loop
144 // invocations we post a synthetic keyboard message directly into the message 144 // invocations we post a synthetic keyboard message directly into the message
145 // loop. The dispatcher for the nested loop would then decide how this 145 // loop. The dispatcher for the nested loop would then decide how this
146 // message is routed. 146 // message is routed.
147 void DispatchKeyboardMessage(ui::EventType type, 147 void DispatchKeyboardMessage(ui::EventType type,
148 uint32 vkey, 148 uint32 vkey,
149 uint32 repeat_count, 149 uint32 repeat_count,
150 uint32 scan_code, 150 uint32 scan_code,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 // Current size of this root window. 185 // Current size of this root window.
186 gfx::Size window_size_; 186 gfx::Size window_size_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin); 188 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin);
189 }; 189 };
190 190
191 } // namespace aura 191 } // namespace aura
192 192
193 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 193 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/input_state_lookup_win.h ('k') | ui/aura/scoped_window_targeter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698