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

Unified Diff: services/navigation/view_impl.h

Issue 2038143003: Support link hovering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: . Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/navigation/public/interfaces/view.mojom ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/view_impl.h
diff --git a/services/navigation/view_impl.h b/services/navigation/view_impl.h
index 3319e760682e4bb18c761abe6414c6a5a429f96a..c905c8a07dedb6446f3147f9e9acdcb69c4f39c4 100644
--- a/services/navigation/view_impl.h
+++ b/services/navigation/view_impl.h
@@ -14,6 +14,7 @@
#include "services/shell/public/cpp/interface_factory.h"
#include "services/shell/public/cpp/shell_client.h"
#include "services/shell/public/cpp/shell_connection_ref.h"
+#include "ui/gfx/geometry/size.h"
#include "ui/views/widget/widget_delegate.h"
namespace views {
@@ -46,6 +47,7 @@ class ViewImpl : public mojom::View,
mus::mojom::WindowTreeClientRequest request) override;
void ShowInterstitial(const mojo::String& html) override;
void HideInterstitial() override;
+ void SetResizerSize(const gfx::Size& size) override;
// content::WebContentsDelegate:
void AddNewContents(content::WebContents* source,
@@ -61,6 +63,8 @@ class ViewImpl : public mojom::View,
content::InvalidateTypes changed_flags) override;
void LoadProgressChanged(content::WebContents* source,
double progress) override;
+ void UpdateTargetURL(content::WebContents* source, const GURL& url) override;
+ gfx::Rect GetRootWindowResizerRect() const override;
// mus::WindowTreeClientDelegate:
void OnEmbed(mus::Window* root) override;
@@ -83,6 +87,8 @@ class ViewImpl : public mojom::View,
std::unique_ptr<views::Widget> widget_;
+ gfx::Size resizer_size_;
+
DISALLOW_COPY_AND_ASSIGN(ViewImpl);
};
« no previous file with comments | « services/navigation/public/interfaces/view.mojom ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698