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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1080693002: Implementation of Smart GO NEXT feature in Android Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated based on blink side reviews. Created 5 years, 7 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) 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 void Undo() override; 285 void Undo() override;
286 void Redo() override; 286 void Redo() override;
287 void Cut() override; 287 void Cut() override;
288 void Copy() override; 288 void Copy() override;
289 void CopyToFindPboard() override; 289 void CopyToFindPboard() override;
290 void Paste() override; 290 void Paste() override;
291 void PasteAndMatchStyle() override; 291 void PasteAndMatchStyle() override;
292 void Delete() override; 292 void Delete() override;
293 void SelectAll() override; 293 void SelectAll() override;
294 void Unselect() override; 294 void Unselect() override;
295 void AdvanceFocusInForm(bool forward) override;
dcheng 2015/04/28 20:30:55 Nit: I would suggest using an enum for this as wel
295 void Replace(const base::string16& word) override; 296 void Replace(const base::string16& word) override;
296 void ReplaceMisspelling(const base::string16& word) override; 297 void ReplaceMisspelling(const base::string16& word) override;
297 void NotifyContextMenuClosed( 298 void NotifyContextMenuClosed(
298 const CustomContextMenuContext& context) override; 299 const CustomContextMenuContext& context) override;
299 void ExecuteCustomContextMenuCommand( 300 void ExecuteCustomContextMenuCommand(
300 int action, 301 int action,
301 const CustomContextMenuContext& context) override; 302 const CustomContextMenuContext& context) override;
302 gfx::NativeView GetNativeView() override; 303 gfx::NativeView GetNativeView() override;
303 gfx::NativeView GetContentNativeView() override; 304 gfx::NativeView GetContentNativeView() override;
304 gfx::NativeWindow GetTopLevelNativeWindow() override; 305 gfx::NativeWindow GetTopLevelNativeWindow() override;
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 // Adds/removes a callback called on creation of each new WebContents. 1285 // Adds/removes a callback called on creation of each new WebContents.
1285 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1286 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1286 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1287 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1287 1288
1288 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1289 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1289 }; 1290 };
1290 1291
1291 } // namespace content 1292 } // namespace content
1292 1293
1293 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1294 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/ime_adapter_android.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698