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

Side by Side Diff: chrome/browser/ui/ash/chrome_keyboard_ui.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/web_contents_observer.h" 11 #include "content/public/browser/web_contents_observer.h"
11 #include "ui/keyboard/content/keyboard_ui_content.h" 12 #include "ui/keyboard/content/keyboard_ui_content.h"
12 13
13 namespace content { 14 namespace content {
14 class BrowserContext; 15 class BrowserContext;
15 class WebContents; 16 class WebContents;
16 } 17 }
17 namespace extensions { 18 namespace extensions {
18 class ExtensionFunctionDispatcher; 19 class ExtensionFunctionDispatcher;
19 class WindowController; 20 class WindowController;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // provide the input type information. Naturally, when the virtual keyboard 57 // provide the input type information. Naturally, when the virtual keyboard
57 // extension is used as an IME then chrome.input.ime.onFocus provides the 58 // extension is used as an IME then chrome.input.ime.onFocus provides the
58 // information, but not when the virtual keyboard is used in conjunction with 59 // information, but not when the virtual keyboard is used in conjunction with
59 // another IME. virtualKeyboardPrivate.onTextInputBoxFocused is the remedy in 60 // another IME. virtualKeyboardPrivate.onTextInputBoxFocused is the remedy in
60 // that case. 61 // that case.
61 void SetUpdateInputType(ui::TextInputType type) override; 62 void SetUpdateInputType(ui::TextInputType type) override;
62 63
63 // content::WebContentsObserver overrides 64 // content::WebContentsObserver overrides
64 void RenderViewCreated(content::RenderViewHost* render_view_host) override; 65 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
65 66
66 scoped_ptr<keyboard::KeyboardControllerObserver> observer_; 67 std::unique_ptr<keyboard::KeyboardControllerObserver> observer_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(ChromeKeyboardUI); 69 DISALLOW_COPY_AND_ASSIGN(ChromeKeyboardUI);
69 }; 70 };
70 71
71 #endif // CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_ 72 #endif // CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/cast_config_delegate_media_router.h ('k') | chrome/browser/ui/ash/chrome_keyboard_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698