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

Side by Side Diff: mandoline/ui/phone_ui/phone_browser_application_delegate.h

Issue 1371773003: mandoline: Add find in page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final documentation changes. Created 5 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 | « mandoline/ui/desktop_ui/find_bar_view.cc ('k') | third_party/WebKit/Source/web/TextFinder.cpp » ('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 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 MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_ 5 #ifndef MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_
6 #define MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_ 6 #define MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/mus/public/cpp/view_observer.h" 10 #include "components/mus/public/cpp/view_observer.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const mojo::Rect& old_bounds, 53 const mojo::Rect& old_bounds,
54 const mojo::Rect& new_bounds) override; 54 const mojo::Rect& new_bounds) override;
55 55
56 // Overridden from web_view::mojom::WebViewClient: 56 // Overridden from web_view::mojom::WebViewClient:
57 void TopLevelNavigateRequest(mojo::URLRequestPtr request) override; 57 void TopLevelNavigateRequest(mojo::URLRequestPtr request) override;
58 void TopLevelNavigationStarted(const mojo::String& url) override; 58 void TopLevelNavigationStarted(const mojo::String& url) override;
59 void LoadingStateChanged(bool is_loading, double progress) override; 59 void LoadingStateChanged(bool is_loading, double progress) override;
60 void BackForwardChanged(web_view::mojom::ButtonState back_button, 60 void BackForwardChanged(web_view::mojom::ButtonState back_button,
61 web_view::mojom::ButtonState forward_button) override; 61 web_view::mojom::ButtonState forward_button) override;
62 void TitleChanged(const mojo::String& title) override; 62 void TitleChanged(const mojo::String& title) override;
63 void FindInPageMatchCountUpdated(int32_t request_id,
64 int32_t count,
65 bool final_update) override {}
66 void FindInPageSelectionUpdated(int32_t request_id,
67 int32_t active_match_ordinal) override {}
63 68
64 // Overridden from mojo::InterfaceFactory<LaunchHandler>: 69 // Overridden from mojo::InterfaceFactory<LaunchHandler>:
65 void Create(mojo::ApplicationConnection* connection, 70 void Create(mojo::ApplicationConnection* connection,
66 mojo::InterfaceRequest<LaunchHandler> request) override; 71 mojo::InterfaceRequest<LaunchHandler> request) override;
67 72
68 mojo::ApplicationImpl* app_; 73 mojo::ApplicationImpl* app_;
69 mojo::ViewTreeHostPtr host_; 74 mojo::ViewTreeHostPtr host_;
70 75
71 mus::View* root_; 76 mus::View* root_;
72 mus::View* content_; 77 mus::View* content_;
73 web_view::WebView web_view_; 78 web_view::WebView web_view_;
74 79
75 mojo::String default_url_; 80 mojo::String default_url_;
76 81
77 mojo::WeakBindingSet<LaunchHandler> launch_handler_bindings_; 82 mojo::WeakBindingSet<LaunchHandler> launch_handler_bindings_;
78 83
79 DISALLOW_COPY_AND_ASSIGN(PhoneBrowserApplicationDelegate); 84 DISALLOW_COPY_AND_ASSIGN(PhoneBrowserApplicationDelegate);
80 }; 85 };
81 86
82 } // namespace mandoline 87 } // namespace mandoline
83 88
84 #endif // MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_ 89 #endif // MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « mandoline/ui/desktop_ui/find_bar_view.cc ('k') | third_party/WebKit/Source/web/TextFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698