Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ | 5 #ifndef BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ |
| 6 #define BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ | 6 #define BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 135 void RequestToLockMouse(content::WebContents* web_contents, | 135 void RequestToLockMouse(content::WebContents* web_contents, |
| 136 bool user_gesture, | 136 bool user_gesture, |
| 137 bool last_unlocked_by_target) override; | 137 bool last_unlocked_by_target) override; |
| 138 void CloseContents(content::WebContents* source) override; | 138 void CloseContents(content::WebContents* source) override; |
| 139 void ActivateContents(content::WebContents* contents) override; | 139 void ActivateContents(content::WebContents* contents) override; |
| 140 void ForwardCompositorProto( | 140 void ForwardCompositorProto( |
| 141 content::RenderWidgetHost* render_widget_host, | 141 content::RenderWidgetHost* render_widget_host, |
| 142 const std::vector<uint8_t>& proto) override; | 142 const std::vector<uint8_t>& proto) override; |
| 143 void NavigationStateChanged(content::WebContents* source, | 143 void NavigationStateChanged(content::WebContents* source, |
| 144 content::InvalidateTypes changed_flags) override; | 144 content::InvalidateTypes changed_flags) override; |
| 145 | 145 |
|
nyquist
2016/10/05 04:20:56
Nit: Remove empty line, since this is also part of
| |
| 146 void OnUpdateTextInputState(content::RenderWidgetHost* render_widget_host, | |
| 147 ui::TextInputType type, | |
| 148 const std::string& text, | |
| 149 const std::string& placeholder, | |
| 150 bool show_ime_if_needed) override; | |
| 151 | |
| 146 // ui::InputMethodObserver overrides. | 152 // ui::InputMethodObserver overrides. |
| 147 void OnTextInputTypeChanged(const ui::TextInputClient* client) override; | 153 void OnTextInputTypeChanged(const ui::TextInputClient* client) override; |
| 148 void OnFocus() override; | 154 void OnFocus() override; |
| 149 void OnBlur() override; | 155 void OnBlur() override; |
| 150 void OnCaretBoundsChanged(const ui::TextInputClient* client) override; | 156 void OnCaretBoundsChanged(const ui::TextInputClient* client) override; |
| 151 void OnTextInputStateChanged(const ui::TextInputClient* client) override; | 157 void OnTextInputStateChanged(const ui::TextInputClient* client) override; |
| 152 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override; | 158 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override; |
| 153 void OnShowImeIfNeeded() override; | 159 void OnShowImeIfNeeded() override; |
| 154 | 160 |
| 155 // Sets up |new_contents| to be associated with the root window. | 161 // Sets up |new_contents| to be associated with the root window. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 221 // TODO(haibinlu): Support more than one tab (crbug/547231) | 227 // TODO(haibinlu): Support more than one tab (crbug/547231) |
| 222 std::unique_ptr<Tab> tab_; | 228 std::unique_ptr<Tab> tab_; |
| 223 | 229 |
| 224 DISALLOW_COPY_AND_ASSIGN(BlimpEngineSession); | 230 DISALLOW_COPY_AND_ASSIGN(BlimpEngineSession); |
| 225 }; | 231 }; |
| 226 | 232 |
| 227 } // namespace engine | 233 } // namespace engine |
| 228 } // namespace blimp | 234 } // namespace blimp |
| 229 | 235 |
| 230 #endif // BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ | 236 #endif // BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ |
| OLD | NEW |